vim-bufkill icon indicating copy to clipboard operation
vim-bufkill copied to clipboard

Commands should accept arguments

Open freder opened this issue 7 years ago • 1 comments

I just learned that you can do :bd 1 2 3 4 5 to close a number of buffers all at once. – it would be great if I could do the same with :BD.

freder avatar Oct 17 '17 12:10 freder

Hi - nice idea - though it would require a bit of work. At present, the script looks for the buffer in the current window in all windows - but :BD 1 2 3 4 might be deleting buffers that don't appear in any windows - which is a bit of a change of operation. Obviously it's doable, but after a quick look, I think it would currently require more time than I have to spare. If you'd like to implement it yourself on a fork, I'll certainly have a look at merging it back. Cheers, John

qpkorr avatar Dec 11 '17 06:12 qpkorr