fix(vim): <C-_> now <C-/> as it should be in the first place

This commit is contained in:
ziro 2023-05-25 09:14:36 +07:00
parent 207ad67a7b
commit b2a731e341
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 7 additions and 5 deletions

View file

@ -52,10 +52,9 @@ noremap <C-Y> "+y
noremap <C-P> "+P
" Shortcut to comment a line
" <C-_> means ctrl+/ for vim, for some reason...
map <C-_> gcc
vmap <C-_> gc
imap <C-_> <esc>gc
map <C-/> gcc
vmap <C-/> gc
imap <C-/> <esc>gc
" Clear last search result
map <leader>c :noh<CR>