-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Evil Mode Support #5669
Comments
This is planned. In particular there is discussion of how to unify keybindings in a discoverable way. One proposal is to gate Zed specific bindings behind the space bar in normal mode similar to a leader key. Your thinking is very similar to mine. Stay tuned. |
That would be really amazing! Looking forward for that one 🙏 . Just a suggestion, if possible: Would be great if we can navigate between editor splits using only our keyboard (even the UI elements from Zed, like file-tree). Like I do on neovim: CTRL-l goes to the right [split,window,tmux-panel], CTRL-h goes to the left [split,window,tmux-panel] and so on. (Thank you for all the work on Neovide, really great project!) |
Please consider helix key bindings. |
Any updates on this? Loving Zed, having Evil support would let me fully move from VSCode :) |
This is possible now! Following tips from #5337 I added this to my keymap.json and now I can save file with
|
I'm a little unsure what this bug is actually requesting, so sorry if I'm mis-understanding! In vim_mode, you still have access to all of zed's non-conflicting editor shortcuts (which is most of them because they were designed for non-modal editing), and as @idmyn points out, you can define your own keybindings for any zed actions. I have also recently begun to merge zed's keybindings into vim mode's (for example
Going to close this now, but please let me know (either here, or with other bug reports) if there are things that this bug was meant to encompass that I didn't understand. |
Jumping back into Zed after several months (nvim+tmux user). One thing that has consistently stopped me from using visual IDEs is the inability to shift focus to the file-tree in the same way I can my panes. Has anyone found a solution for that? I think that's the only outstanding part of this thread not solved for. |
I'm looking into that, kinda. Just didn't get around to finishing up the branch. In the mean time: there's a lot of thoughts around this here too: #4270 |
Thank you for sharing the snippet. This works great for my spacemacs-esque keybindings
|
Check for existing issues
Is your feature request related to a problem?
Having support of Vim key binding is great! But why just stop at Vim? Current Zed lacks the support of leader key as the main activation of commands. cmd+shift+p is great, but a single space key is much faster.
Describe the solution you'd like
I would love to see Zed build flexibility around key-mapping so it can support Evil mode (Vim + Emacs) in the future, such that communities can build pre-config key biddings. There are two main advantage:
space
as leader are more productive (may be a bit more opinionated). All the modern Vim & Emacs derivatives support leader key. For example, Neovim, Helix, Doom, Spacemacs all use space a leader key.If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: