2020-10-09 22:55:04 +00:00
|
|
|
|
2022-08-09 23:56:06 +00:00
|
|
|
" (shift + direction) for tabs
|
2020-10-09 22:55:04 +00:00
|
|
|
nnoremap <S-l> gt
|
|
|
|
nnoremap <S-h> gT
|
|
|
|
nnoremap <S-t> <C-w>T
|
|
|
|
|
2022-08-09 23:56:06 +00:00
|
|
|
" (ctrl + direction) for panes
|
2020-10-09 22:55:04 +00:00
|
|
|
nnoremap <C-l> <C-w>l
|
|
|
|
nnoremap <C-h> <C-w>h
|
|
|
|
nnoremap <C-j> <C-w>j
|
|
|
|
nnoremap <C-k> <C-w>k
|
2022-08-17 00:42:57 +00:00
|
|
|
tnoremap <C-l> <C-w>l
|
|
|
|
tnoremap <C-h> <C-w>h
|
|
|
|
tnoremap <C-j> <C-w>j
|
|
|
|
tnoremap <C-k> <C-w>k
|
2020-10-09 22:55:04 +00:00
|
|
|
|
2022-08-09 23:56:06 +00:00
|
|
|
" (ctrl + n/p) for buffers
|
2020-10-09 22:55:04 +00:00
|
|
|
nnoremap <C-n> :n<CR>
|
|
|
|
nnoremap <C-p> :N<CR>
|
2022-08-09 23:56:06 +00:00
|
|
|
|
|
|
|
" flip (gf) / (ctrl+w gf) bindings
|
|
|
|
nnoremap <C-w>gf gf
|
|
|
|
vnoremap <C-w>gf gf
|
|
|
|
nnoremap gf <C-w>gf
|
|
|
|
vnoremap gf <C-w>gf
|