Change to bwipeout from bdelete
This commit is contained in:
parent
99018b4a2d
commit
49a9f9d4af
@ -1,3 +1,7 @@
|
||||
This is a fork to change the plugin to use bwipeout instead of bdelete for deleting the buffer.
|
||||
|
||||
The original README is below:
|
||||
|
||||
I have not written this plugin myself.
|
||||
|
||||
I found it on http://vim.wikia.com/wiki/Deleting_a_buffer_without_closing_the_window and it is to my best knowledge licensed with a CC-BY-SA license (full license text here: http://creativecommons.org/licenses/by-sa/3.0/legalcode).
|
||||
|
@ -66,7 +66,7 @@ function! s:Bclose(bang, buffer)
|
||||
endif
|
||||
endif
|
||||
endfor
|
||||
execute 'bdelete'.a:bang.' '.btarget
|
||||
execute 'bwipeout'.a:bang.' '.btarget
|
||||
execute wcurrent.'wincmd w'
|
||||
endfunction
|
||||
command! -bang -complete=buffer -nargs=? Bclose call <SID>Bclose('<bang>', '<args>')
|
||||
|
Loading…
Reference in New Issue
Block a user