-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use vim/neovim builtin keybinding to open/close tree node #84
Comments
|
I generally like the toggle command. Things get a bit more complicated when we deal with recursive opens. I dont think these are a good idea in most cases. In the calltree case, loops can exist, and recursive opens can lead to the open never finishing. In filetree, directories are lazily evaluated, so recursive open of them can result in a long wait as you open a heavily nested directory. The recursive close operations should be okay. |
Sorry, I didn't fully consider this situation, |
Yup I agree, a toggle will be useful. Ill create a pr at each plugin repo (calltree,filetree,symboltree) to accomplish this. |
Now, this plugin use
zo
open tree node,zc
close tree node. But no keymap to toggle tree node.So I think it's better to use
za
toggle tree node like fold.The text was updated successfully, but these errors were encountered: