-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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 mode: edit inner word #778
Comments
Zsh emulates vi, not Vim, and it's not a full implementation. |
I wasn't aware this is a vim feature. Too bad. |
I also wish it was a more full implementation; there's a lot missing. |
It's a shell, not a text editor. |
You can always use full vim to edit your command line: http://unix.stackexchange.com/questions/6620/how-to-edit-command-line-in-full-screen-editor-in-zsh |
@kyounger Great! Thank you |
For anyone else, pressing ESC+V is already implemented by modules/editor/init.zsh |
Isn't this somewhat closer to what you are trying? #636 (https://github.com/hchbaw/opp.zsh). |
Suppose the following situation with your cursor between 3 and 4:
123|456
Expected behavior when pressing
diw
when using vim mode: all numbers get deleted. We stay in command mode.Actual behavior: when
i
is pressed, the terminal switches to insert mode.The text was updated successfully, but these errors were encountered: