Skip to content
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

Keybindings not working for vi command mode #34

Closed
cohml opened this issue Jan 16, 2024 · 0 comments · Fixed by #35
Closed

Keybindings not working for vi command mode #34

cohml opened this issue Jan 16, 2024 · 0 comments · Fixed by #35

Comments

@cohml
Copy link
Contributor

cohml commented Jan 16, 2024

After sourcing the plugin, the ^G^* keybindings work for emacs and viins modes. However the widgets aren't bound to anything in vicmd mode.

Fundamentally, this is because the zsh version of __fzf_git_init doesn't explicitly specify a mode for bindkey, which for vi mode users means all keybindings default to viins.

To fix this, minimally -M vicmd must be specified in its own call to bindkey.

Possibly related to #23. Nvm, I don't think so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant