vim-vinegar style key map for "-" in editor to focus in project panel #30335
sj26
started this conversation in
Ideas From Vim
Replies: 1 comment
-
Neat! Added it to my own config. Small difference with vinegar/oil is that it only works for files inside the project directory, but that still covers 99% of my use case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I love vim-vinegar. One of my most used keybindings is
-
to go up from the current file to the directory contents.So I've done this in zed:
Pressing
-
in an editor reveals the current file in the project hierarchy. Thenesc
orenter
takes me back to the file editor. Or I can navigate around. From the project panel,-
already selects the parent, just like netrw.j
/k
etc work as expected.enter
opens a file.Like oil and water, as a beautiful salad dressing.
Beta Was this translation helpful? Give feedback.
All reactions