add tab navigation key mapping

This commit is contained in:
Václav Uruba 2021-01-09 15:07:28 +01:00
parent e122191506
commit d138786bdd
Signed by: uruba
GPG Key ID: 0059B34D61727BB0

View File

@ -63,6 +63,12 @@ set nowritebackup
" updatetime
set updatetime=450
" Tabs
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
nnoremap <C-j> :tabprevious<CR>
nnoremap <C-k> :tabnext<CR>
" NERDTree
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif