From 0c9974585356e2980cc685266d6b2c9d2a3c215a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 16 Feb 2010 09:28:00 -0500 Subject: [PATCH] Delete blame buffers when closed --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 36ad67f..003e68d 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1174,7 +1174,7 @@ function! s:Blame(bang,line1,line2,count) abort normal! zt execute current execute "vertical resize ".(match(getline('.'),'\s\+\d\+)')+1) - setlocal nomodified nomodifiable nonumber scrollbind nowrap foldcolumn=0 nofoldenable filetype=fugitiveblame + setlocal nomodified nomodifiable bufhidden=delete nonumber scrollbind nowrap foldcolumn=0 nofoldenable filetype=fugitiveblame nnoremap q :bdelete nnoremap :exe BlameJump('') nnoremap P :exe BlameJump('^'.v:count1)