Use ,, to toggle nerdtree and ,n to focus it instead of the other way around
This commit is contained in:
4
.vimrc
4
.vimrc
@@ -136,9 +136,9 @@ nnoremap <silent> <C-d> :botright terminal ++close<CR>
|
|||||||
inoremap <silent> <C-d> <Esc>:botright terminal ++close<CR>
|
inoremap <silent> <C-d> <Esc>:botright terminal ++close<CR>
|
||||||
|
|
||||||
" Handle nerdtree and other utility-windows
|
" Handle nerdtree and other utility-windows
|
||||||
nnoremap <Leader>, :NERDTreeFocus<CR>
|
nnoremap <Leader>n :NERDTreeFocus<CR>
|
||||||
nnoremap <Leader>c :NERDTreeClose<CR>
|
nnoremap <Leader>c :NERDTreeClose<CR>
|
||||||
nnoremap <Leader>n :NERDTreeToggle<CR>
|
nnoremap <Leader>, :NERDTreeToggle<CR>
|
||||||
nnoremap <Leader>t :TagbarToggle<CR>
|
nnoremap <Leader>t :TagbarToggle<CR>
|
||||||
nnoremap <Leader>u :UndotreeToggle<CR>
|
nnoremap <Leader>u :UndotreeToggle<CR>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user