Skip to content

Commit

Permalink
Prevent bd from exiting vim with nerdtree
Browse files Browse the repository at this point in the history
  • Loading branch information
joshal committed Jun 25, 2018
1 parent bb9e4d7 commit 118fa8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ nnoremap <silent> <Down> :resize -5<cr>
" Switch buffers
nnoremap <leader>l :bnext<cr>
nnoremap <leader>k :bprevious<cr>
nnoremap <leader>d :bdelete<cr>
"" https://superuser.com/a/370121
nnoremap <leader>d :bprevious<bar>split<bar>bnext<bar>bdelete<cr>
" ==========================================================
" Settings (non-plugin)
Expand Down

0 comments on commit 118fa8d

Please sign in to comment.