Skip to content

Commit

Permalink
NERDTree tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
duff committed Dec 1, 2021
1 parent 6d4d4b8 commit 66feb50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,13 @@ nmap <leader>C :source $MYVIMRC<CR>:source $MYGVIMRC<CR>:exe "echo 'vimrc & gvim
" --------------------------------------------------
" Show/hide nerdtree
" --------------------------------------------------
nnoremap <leader>d :NERDTreeClose<CR>
nnoremap <leader>D :NERDTree<CR>
nnoremap <expr> <leader>d g:NERDTree.IsOpen() ? ':NERDTreeClose<CR>' : ':NERDTree<CR>'
" --------------------------------------------------
" Highlight the current buffer in the nerdtree
" --------------------------------------------------
nnoremap <leader>n :NERDTreeFind<CR>

" --------------------------------------------------
" Move between windows
" --------------------------------------------------
Expand Down

0 comments on commit 66feb50

Please sign in to comment.