-
-
Notifications
You must be signed in to change notification settings - Fork 117
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 overriding custom keymaps defined with bindkey #296
Comments
Can anyone please update on this ? |
@rbhanot4739 I just installed this and noticed the same issue. For me changing the init mode to # Set this before loading the plugin
ZVM_INIT_MODE=sourcing |
@ristomatti I tried this, however, setting |
TBH I didn't test further than pressing |
@ristomatti I am not explicitly setting |
I'm not setting it explicitly, it gets enabled when the plugin loads. I'm now at the computer and could actually test this. It appears it does load properly with I'm using Antidote for plugin management. |
Turns out I had an explicit |
Thanks that fixed this issue for me as well! |
General information
Basic examination
Problem description
The plugin seems to override the custom keymaps defined with
bindkey
for custom zle widgets. Here is a minimal.zshrc
I have gone through the section in the readme that talks about strategies to deal with zvm overriding the keymaps and I followed the last option as mentioned below to workaround this issue
Although this works, I am not sure if this is the best way to deal with this because it slowly has started to bloat where I have to put a lot of stuff here.
So I am wondering if there is a better way to handle this.
Reproduction steps
.zshrc
bindkey
Expected behavior
Plugin should not override any keymaps which are not set explicitly by this plugin else it can break functionality of lot of other plugins or custom widgets user may have written on their own.
The text was updated successfully, but these errors were encountered: