-
Notifications
You must be signed in to change notification settings - Fork 256
How to disallow use some buffers for opening files? #511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There's no config option to specify which buffer types to never replace, but you can implement that logic yourself by handling the My suggestion is always to use |
Thanks for the answer. I'll try to use 'file_open_requested'. |
I agree that having this exposed more easily would be great. |
Not very sure if this answers the problem, but the |
This has been fixed by #694 and this option: neo-tree.nvim/lua/neo-tree/defaults.lua Line 37 in 039aff4
|
Now neo-tree opens the file in the last used buffer.
This is convenient in most cases, but if there were "toggleterm" or "packer" buffers before, it becomes inconvenient.
How to disable the use of these types of buffers for opening files?
The text was updated successfully, but these errors were encountered: