Hints for vim-style leader-based sequenced keybinds (i.e. a clone of folke's which-key.nvim) #41026
h14h
started this conversation in
Ideas From Vim
Replies: 1 comment 1 reply
-
|
Related issue #10910 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
There's been a fair bit of discussion around improving the UX for using leader-key-style keybinds w/ Zed's vim mode in the same style of neovim. One thing I would love to see is a pop up hint for configured sequenced keybinds (e.g.
space s ffor searching files). The most popular example of this is folke/which-key.nvim, but this is also supported by default in helix-editor/helix.It's a very convenient way to remember infrequently-used keybinds for certain lsp actions, and would be a welcome addition if we ever get a default vim keymap that aligns itself with popular vim distributions like LazyVim or kickstart.nvim.
Other relevant issues/discussions:
#26818
#16812
#10910
#10457
#4375
One minor additional request would be a comprehensive "normal mode" context to help with scoping of leader-based keybinds. It was kind of pain to separate out every context where I want
spaceto start a keybind vs. insert a space character, and there's risk of my config being a moving target as more features are added to Zed. Would be great if Zed provided a something like avim-leadercontext abstraction to make our vim-style keybinds easier to set up and fully future-proof.Edited to add relevant issue.
Beta Was this translation helpful? Give feedback.
All reactions