Skip to content

Commit

Permalink
delete buffer when closing window
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarik committed Mar 5, 2013
1 parent 7a7815f commit 32588e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ set macmeta

" Copy whole line
nnoremap <silent> <D-c> yy
" close/delete buffer when closing window
map <silent> <D-w> :bdelete<CR>
endif

" Control+S and Control+Q are flow-control characters: disable them in your terminal settings.
Expand Down

0 comments on commit 32588e1

Please sign in to comment.