vim: force deleting buffers

This commit is contained in:
Bart Trojanowski 2009-11-27 01:18:00 -05:00
parent becc49eee7
commit 5b8f74b512

View file

@ -1232,7 +1232,7 @@ endfunction
function! s:NM_kill_this_buffer() function! s:NM_kill_this_buffer()
if exists('b:nm_prev_bufnr') if exists('b:nm_prev_bufnr')
let prev_bufnr = b:nm_prev_bufnr let prev_bufnr = b:nm_prev_bufnr
bdelete bdelete!
exec printf("buffer %d", prev_bufnr) exec printf("buffer %d", prev_bufnr)
else else
echo "This is the last buffer; use :q<CR> to quit." echo "This is the last buffer; use :q<CR> to quit."