-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[vim] single line input vim mode #13293
Comments
Forgive me for not being a vim user. I don't quite understand exactly what you're asking for. Can you explain to me like I'm five? I wonder whether this could be solved with a custom keybinding for |
The core of this issue is that any single line of input should support vim mode, this includes search input, chat input rename input etc. This is a feature that can not be achieved with a simple keymap, nowadays cursor movement deletion is limited to the most primitive keybindings, this is far from vim, it was possible in the early versions supported by zed, but some people opened the issue complaining about why you need to press esc multiple times to close the interface, because the first press is switching from insertion mode to normal mode, and the second time is the actual The second press was to actually close the interface. Then the team turned off this feature. But this feature is very common in lazyvim which also supports it. |
For example telescope.nvim 2024-06-21.10.20.04.mov |
is it or would it be possible to configure whether to use the vim mode, for those who are ok with pressing the escape key multiple times? It would be very useful, especially when renaming symbols. |
Duplicate of #12008 I think this is technically possible, but we unfortunately already use escape in most contexts to mean "close the input" not "switch to normal mode" |
Check for existing issues
Describe the feature
As far as I know, there is a single line vim mode at the beginning, but due to the
esc
problem, it causes the need to pressesc
multiple times. So single line vim mode is turned off, and I was wondering if it is possible to addshift-esc
instead of the originalesc
so that multipleesc
presses can be avoided. problem, or the default behavior is to go back, but useshift-esc
to enter normal mode?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: