-
Notifications
You must be signed in to change notification settings - Fork 251
Binding to close current node #19
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
Interesting. That is easy enough to add. |
@levouh Question: If a directory is currently focused, should it collapse that currently focused directory, or it's parent? In your example, what happens when you execute |
Apologies for the delay; it would close the focused node if it was open, otherwise close the parent of the current node. |
@cseickel thanks for the addition! Messing with what you pushed on close_node_dir_change.mp4Note that the starting directory (and the one that contains the file) is I can open a new issue for this if you'd like, poking around with the code base as well so hopefully I'll be able to contribute at some point as well. |
I just opened up a bug that I think is the real cause of this issue: #22 |
@levouh Actually, I already figured it out! change your mapping to lower case. My default config merging is case sensitive.
I'll fix that of course, but this will get you working immediately. |
Awesome, I will give it a try. Thanks for the notes. |
Say that I am in a node like this:
Being able to press a key and change the tree to this:
(so close the node that the cursor is currently inside of) would be a nice feature to have, similar to how
nvim-tree.lua
hasclose_node
.The text was updated successfully, but these errors were encountered: