vim-delete-hidden-buffers icon indicating copy to clipboard operation
vim-delete-hidden-buffers copied to clipboard

Delete hidden buffer with terminal open in hidden

Open cyansprite opened this issue 8 years ago • 3 comments

Bufferline ::
plug.vim bash bash bash bash bash bash bash

ErrorMSG::
Error detected while processing function DeleteHiddenBuffers: line 4: E89: term://.//30545:/bin/bash will be killed(add ! to override) E89: term://.//30578:/bin/bash will be killed(add ! to override) E89: term://.//30611:/bin/bash will be killed(add ! to override) E89: term://.//30644:/bin/bash will be killed(add ! to override) E89: term://.//30677:/bin/bash will be killed(add ! to override) E89: term://.//30710:/bin/bash will be killed(add ! to override) E89: term://.//30743:/bin/bash will be killed(add ! to override)

You could either have an option (g: var), or another command such as delete force, and then if that happens pass in a variable (or option) and check if option/var, then bw!, otherwise bw

cyansprite avatar Jun 27 '17 15:06 cyansprite

Is this when using neovim ?

arithran avatar Jun 27 '17 17:06 arithran

aye

cyansprite avatar Jun 30 '17 14:06 cyansprite

Hey...I've just sent a pull request to force the buffer deletion...Just put a ! at the end of the command. I think this solves the issue (Pull request #4 )

lopespt avatar Aug 20 '19 20:08 lopespt