Add winfixbuf to view options
petobens opened this issue · comments
I believe this would be really helpul to avoid loading a buffer within the nvimtree window.
I'm not quite sure what you're referring to; I'm not able to find that :help winfixbuf
Do you have something you can demonstrate?
Sure. The winfixbuf
option won't allow me to switch windows/buffers within the nvimtree buffers:
See here for details.
Ah that's fantastic! Solves a lot of issues for plugins displaying in windows.
It can be used for actions.open_file.eject
, removing the need for _prevent_buffer_override
Unfortunately we're going to need to wait for 0.10 to be released, however we can do this today, behind a vim.fn.has("nvim-0.10") == 1
feature flag.
As usual, pull requests are most gratefully appreciated, see CONTRIBUTING.md
Thanks for the feedback. See #2738