dotwryn/vim/navigation.vim

16 lines
282 B
VimL
Raw Normal View History

2020-10-09 22:55:04 +00:00
" (SHIFT + DIRECTION) for tabs
nnoremap <S-l> gt
nnoremap <S-h> gT
nnoremap <S-t> <C-w>T
" (CTRL + DIRECTION) for panes
nnoremap <C-l> <C-w>l
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
" (CTRL + n/p) for files
nnoremap <C-n> :n<CR>
nnoremap <C-p> :N<CR>