mirror of
https://github.com/don-philipe/dotfiles.git
synced 2026-11-06 16:14:12 +01:00
Jump to NERDTree when opening new tab in vim
This commit is contained in:
1 parent
80202b3467
commit
9d80e6b5a1
1 file changed
+2
-1
@@ -35,7 +35,8 @@ inoremap <expr>> strpart(getline('.'), col('.')-1, 1) == ">" ? "\<Right>" : ">"
|
||||
"inoremap ' ''<Left>
|
||||
|
||||
" Tab navigation
|
||||
nmap <C-t> :tabnew<CR>
|
||||
" new tab and move to previous window (NERDTree if open)
|
||||
nmap <C-t> :tabnew <bar> :wincmd p<CR>
|
||||
nmap <C-h> :tabprev<CR>
|
||||
nmap <C-l> :tabnext<CR>
|
||||
|
||||
|
||||
Reference in new issue
Block a user