clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

reorganize to correct file

sspaeti 869d0b70 608acc28

+18 -22
+2 -22
nvim/lua/sspaeti/remap.lua
··· 177 177 vim.g.netrw_altv = 1 -- open splits to the right 178 178 179 179 180 - 181 - 182 - 183 - 184 180 -- 185 - --converted from old_configs.vim (with ChatGPT - caughtion if something does not work) 181 + --below: converted from old_configs.vim (with ChatGPT - caughtion if something does not work) 182 + --2023-07-18 186 183 -- 187 - 188 184 -- fzf: ctrl f for find files 189 185 vim.keymap.set('n', '<C-p>', ':Files<CR>') 190 186 vim.keymap.set('n', '<leader>fw', ":call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('<cword>')]}))<cr>") ··· 202 198 command! -bang -nargs=* Rg2 203 199 \ call fzf#vim#grep("rg --column --line-number --no-heading --color=always --smart-case ".<q-args>, 1, {'dir': system('git -C '.expand('%:p:h').' rev-parse --show-toplevel 2> /dev/null')[:-2]}, <bang>0) 204 200 ]] 205 - 206 - -- move window with christoomey/vim-tmux-navigator to align tmux and nvim 207 - vim.g.tmux_navigator_no_mappings = 1 208 - vim.g.tmux_navigator_preserve_zoom = 1 209 201 210 202 vim.keymap.set('', '<silent> <c-h>', ':<C-U>TmuxNavigateLeft<cr>') 211 203 vim.keymap.set('', '<silent> <c-j>', ':<C-U>TmuxNavigateDown<cr>') ··· 226 218 vim.keymap.set('n', '<leader>tn', ':tabnew<Return>') 227 219 vim.keymap.set('n', '<S-Tab>', ':tabprev<Return>') 228 220 229 - -- Replace `$EDITOR` candidate with this command to open the selected file 230 - vim.g.rnvimr_edit_cmd = 'drop' 231 - 232 - -- let blame default be on 233 - vim.g.blamer_enabled = 1 234 - 235 221 -- undo break points 236 222 vim.keymap.set('i', ',', ',<c-g>u') 237 223 vim.keymap.set('i', '.', '.<c-g>u') ··· 248 234 nnoremap <expr> k v:count ? (v:count > 5 ? "m'" . v:count : '') . 'k' : 'gk' 249 235 ]] 250 236 251 - -- Custom surrounds 252 - vim.cmd[[ 253 - let w:surround_{char2nr('w')} = "```\r```" 254 - let b:surround_{char2nr('b')} = "**\r**" 255 - ]] 256 -
+16
nvim/lua/sspaeti/set.lua
··· 130 130 -- "}}} 131 131 -- ]]) 132 132 133 + 134 + -- move window with christoomey/vim-tmux-navigator to align tmux and nvim 135 + vim.g.tmux_navigator_no_mappings = 1 136 + vim.g.tmux_navigator_preserve_zoom = 1 137 + 138 + -- Replace `$EDITOR` candidate with this command to open the selected file 139 + vim.g.rnvimr_edit_cmd = 'drop' 140 + 141 + -- let blame default be on 142 + vim.g.blamer_enabled = 1 143 + 144 + -- Custom surrounds 145 + vim.cmd[[ 146 + let w:surround_{char2nr('w')} = "```\r```" 147 + let b:surround_{char2nr('b')} = "**\r**" 148 + ]]