kaktree
kaktree copied to clipboard
[Feature Request] option for return key to just open the directory
It would be nice if there were an option to be able to have the return key simply open a directory tree when the selection is a directory, and open the file when it is a file, similar to how vim's nerdtree plugin works. Changing the root could be bound to a different key in this mode as well.
I think it should be possible to remap keys right now, though it may be a bit not user friendly to do. Have you tried remapping?
It's I'm not mistaken, a simple remap wouldn't do the trick, because presently, a button can either expand the directory tree a directory or open a file, but not both. You'd have to bind the open function to a different key.
ah, I see what you mean, yeah, this needs some tweaking in the kaktree--ret-action and maybe a custom option to control whether to descend by default.