commit 2a30b58e34e465500c4660afd498bc90841d2862
parent 3a39a97faf4fe40cd1d615cbfdbcc0f99e1d9f5b
Author: hhvn <dev@hhvn.uk>
Date: Sun, 7 Nov 2021 23:54:48 +0000
.c/n/init.vim: change <++> bindings
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -64,10 +64,11 @@ noremap <leader>ss :set syntax=
noremap <leader>8 :set colorcolumn=80<CR>:set tw=80<CR>:set fo+=t<CR>
noremap <leader>g :!git
noremap <leader>nn :setlocal number! relativenumber!<CR>
-noremap <leader>j 0/<++><Enter>"_c4l
-noremap <leader>J 0/<++><Enter>"_d4l
nnoremap <leader>CS :let @/=''<CR>
+nmap <c-o> 0/<++><Enter>"_c4l
+imap <c-o> <Esc>0/<++><Enter>"_c4l
+
"General stuff
noremap dw diw
noremap dew dw