vim-delete-hidden-buffers
vim-delete-hidden-buffers copied to clipboard
Delete hidden buffer with terminal open in hidden
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
Is this when using neovim ?
aye
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 )