mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
vim: force deleting buffers
This commit is contained in:
parent
becc49eee7
commit
5b8f74b512
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||||
|
|
Loading…
Reference in a new issue