-
Notifications
You must be signed in to change notification settings - Fork 94
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
Plugin Request: Vi-Mode #165
Comments
This is a great opportunity to create a new built-in plugin or custom plugin for anyone interested in their first PR. As reference there is already a basic implementation in the gitter chatroom: https://gitter.im/geometry-zsh/Lobby?at=592a5c1bfcbbe1891c50bcad Thanks @f-a-a for bringing this up. |
this needs to be re-visited since its not as straightfoward as just checking for KEYMAP |
I tested it out, and it always shows even when I press esc, which should put me in command mode. I've never used vi-mode before so I might have something misconfigured, but i set |
When I was testing locally, pressing I'll check again but it could be that I missed something about the ZLE widget hooks and they're not being called properly. Thanks for testing it! |
I tried on a different computer and I get the same behavior. I'll need a bit of time to investigate. |
Zshell has the ability to go into vi-mode with
bindkey -v
settings. If you are usingoh-my-zsh
, this feature can be enabled by including the vi-mode plugin.However, the interest with
geometry
is to port the visual indicator over. vi-mode implements its own visual indicator functionvi_mode_prompt_info()
where it toggles betweenvimcmd
andmain
mode indicatingNORMAL
andINSERT
mode respectively.The request here is to include the visual indicator as a plugin in
geometry
. Thank you in advance.\cc @fribmendes, @desyncr
The text was updated successfully, but these errors were encountered: