Skip to content
Browse files

Don't quit Vim when closing buffers with <Leader>w

  • Loading branch information...
1 parent ad5c0ef commit 977f53090199e74db79fed306c57dfa5daaaf331 @twe4ked committed Apr 8, 2013
Showing with 2 additions and 4 deletions.
  1. +1 −4 vim/keybindings.vim
  2. +1 −0 vim/vundle.vim
View
5 vim/keybindings.vim
@@ -3,7 +3,7 @@ map <Leader>r :checktime<CR>:wall<CR>:redraw!<CR>
" Buffer navigation
map <Leader>, <C-^>
-map <Leader>w :CommandW<CR>
+map <Leader>w :Bclose<CR>
map <Leader>l :CommandTBuffer<CR>
noremap <leader>i :set list!<CR>
@@ -19,9 +19,6 @@ map <C-l> <C-w>l
" Clear search
map <silent><Leader>/ :nohls<CR>
-" Command W
-map <Leader>w :CommandW<CR>
-
" NERDTree
map <leader>n :NERDTreeToggle<CR>
map <leader>N :NERDTreeFind<CR>
View
1 vim/vundle.vim
@@ -1,5 +1,6 @@
" Misc.
Bundle 'nathanaelkane/vim-command-w'
+Bundle 'Soares/butane.vim'
Bundle 'tpope/vim-fugitive'
Bundle 'sickill/vim-pasta'
Bundle 'bufkill.vim'

0 comments on commit 977f530

Please sign in to comment.
Something went wrong with that request. Please try again.