Navigation with HJKL #163
-
|
Seeking to emulate atom's tree-view component, I'd like for hjkl to operate like so in neo-tree buffers: h - out (i.e up to parent dir when on a file, close dir when on a dir) does neotree expose commands to setup those bindings? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
With the |
Beta Was this translation helpful? Give feedback.
-
|
hey is there a way to modify this to allow pressing l on a file itll just automatically decide to open instead of expanding the directory ? |
Beta Was this translation helpful? Give feedback.
-
|
For future readers who use a |
Beta Was this translation helpful? Give feedback.
outandindon't exist, but you can create custom functions that do this, see::h neo-tree-custom-commandsneo-tree.nvim/lua/neo-tree/sources/common/commands.lua
Line 180 in 75cde5d
neo-tree.nvim/lua/neo-tree/sources/filesystem/init.lua
Line 326 in 75cde5d
With the
next_sibling/prev_siblingcommands, I know I've used them before but I can't remember, in what situation is it different than a standard j/k navigation?