barbar.nvim
barbar.nvim copied to clipboard
[Feature Request] :BufferRestore
Modern code editors tend to have functionality for restoring closed tabs. I believe it would be helpful to provide a similar command :BufferRestore
in barbar.nvim.
Generally we can maintain a local stack of closed files. Upon :BufferRestore
, we can pop and reopen the file on top of the stack. It would be even better if we memorize information like cursor position in the stack.
BTW, thanks for you work on this wonderful project!
Right. I actually have the feature implemented separately in my own config but it would indeed be ideal to have it in the plugin.
I use vim sessions, but it does not work very well. Currently trying to figure out how to get my file tree to not appear as a tab
@Feel-ix-343 this issue is unrelated to that request. Try https://github.com/romgrk/barbar.nvim/pull/347, and if that doesn't help, open a separate issue