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
654 stars 32 forks source link

Does not clear the buffer "slot" in the airline tabs displayed at the top of the vim instance #19

Open EdmundsEcho opened 3 years ago

EdmundsEcho commented 3 years ago

I've been using this plugin for a while now - useful when using split windows in vim. Thank you!

I've been working on a project where I've found it useful to have 3-5 vsplits going. What I noticed is that when I close a buffer using :Bdelete it seems to leave a residual, empty/blank buffer. It becomes an issue in that I have to manually skip the buffers to reach other buffers. I can get rid of those buffers using the native :bd command (of course), but that defeats the purpose.

The airline feature that displays the tabs at the top of the vim instance:

let g:airline#extensions#tabline#enabled = 1 " display tabs let g:airline#extensions#tabline#buffer_idx_mode = 1 " index tabs to enable keyboard shortcuts to specific tab

Has anyone had this experience? Any suggested fixes?

- E

PS: I use the latest neovim.