moll / vim-bbye

Delete buffers and close files in Vim without closing your windows or messing up your layout. Like Bclose.vim, but rewritten and well maintained.
http://www.vim.org/scripts/script.php?script_id=4664
Other
650 stars 32 forks source link

Notice: distribution of bbye.vim as part of barbar.nvim #18

Open romgrk opened 3 years ago

romgrk commented 3 years ago

Hi,

I've included bbye.vim as part of barbar.nvim in https://github.com/romgrk/barbar.nvim/pull/21/files, as allowed by the GNU Affero license. In observance of the license, I would also like to share that the version distributed in barbar.nvim includes one thing that could be considered a bugfix: when a buffer is closed, the tabline can't be updated because there is no after-buffer-close autocommand. The modified version does doautocmd BufWinEnter after having completed to allow tabline plugins to update.

Thanks

moll commented 3 years ago

Hey! Thanks for letting me know and go ahead! I'll take a look sometime to see what's useful to copy back here. :)