-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
some ctrl-* keybindings only work with insert mode #195
Comments
Big bump for this one please!!! |
Thanks for your reporting, I want to confirm the bellowing items with you firstly:
Thanks & Regards |
I'm not @diminutivesloop, but I can be another data point. I use this plugin, which is the same as the one you linked, except that I install it via Oh-My-Zsh. With
|
@cohml Have you tried to source the plugin as below? zvm_after_init() {
source <your_plugin_location>/per-directory-history.plugin.zsh
} |
Hey that fixes it for me! I know your README already covers this a bit. For some reason it just hadn't occurred to me that But in retrospect that makes perfect sense. The README even mentioned Anyway, sorry for the confusion and thanks for the help! I vote to close this issue. |
@cohml You're welcome, and hope this plugin can accelerate your daily work. And also welcome to star this project for further updates in the future. : ) |
I'm still not @diminutivesloop lol, so I'd wait for him to respond before closing. But I will star for sure. This project is great and you are a very responsive dev. Thanks again! |
@cohml You're welcome, welcome to submit your issues whenever you meet. : ) |
Yes that's the plugin I'm referring to. And I did just test with the regular vi-mode plugin and the issue manifests in that case as well. |
@diminutivesloop Try this. Just add that to your .zshrc, adjusting the path as necessary ofc. I had the same issue as you, and this solution seems to have fixed it. |
@diminutivesloop Could you try as @cohml said, and see if your issue could be settled down? |
@jeffreytse That appears to work. I tried the same thing before with no success, but that may have been before I switched to installing the Update: so I was able to fix the keybinding issue by initializing |
General information
Basic examination
Problem description
Some ctrl-* keybindings only work in insert mode. Specifically I'm using the per-directory-history zsh plugin and I cannot use ctrl-g to switch between global and directory history when in normal mode even though other keyboard commands such as ctrl-c work in both modes. I'm initializing per-directory-history via
zvm_after_init
and I tried disabling lazy loading viaZVM_LAZY_KEYBINDINGS=false
but this didn't fix the issue.Reproduction steps
N/A
Expected behavior
Any ctrl-* keybindings that are not assigned to this plugin should work as expected in all input modes.
The text was updated successfully, but these errors were encountered: