neovim: add quick split-switching binds

This commit is contained in:
LavaDesu 2021-08-19 19:16:23 +07:00
parent b42f7c1ee6
commit 300134b720
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -83,6 +83,10 @@
" various aliases
nnoremap <c-h> :NERDTreeToggle
nnoremap <leader>rs :source $MYVIMRC<CR>
nnoremap <C-H> <C-W>h
nnoremap <C-J> <C-W>j
nnoremap <C-K> <C-W>k
nnoremap <C-L> <C-W>l
nmap <leader>rn <Plug>(coc-rename)
command! -nargs=0 Sw w !doas tee % > /dev/null