-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Don't override ↑ and ↓ bindings when fzf is installed #59
Labels
enhancement
New feature or request
Comments
I agree with you. this is the workaround. function precmd_remove_up_down_bindkey() {
bindkey '^[OA' up-line-or-history
bindkey '^[OB' down-line-or-history
}
autoload -Uz add-zsh-hook
add-zsh-hook precmd precmd_remove_up_down_bindkey |
Another comment would be to suppress completions when using |
@dylanjm I actually have implemented that already in my local copy of the |
Merged to |
yutkat
added a commit
to yutkat/dotfiles
that referenced
this issue
Jun 27, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
Currently, if fzf is installed, zsh-autocomplete will rebind ↑ so that it no longer toggles through history, but fuzzy searches through it.
For my usage this seems unnecessary, since ^+R already activates fuzzy search, and ↑ is a convenient well-known shortcut to repeat the last few commands.
Describe the solution you'd like
Either disable the automatic remapping of ↑ when fzf is detected or offer an option to bring it back to its original functionality.
Again, thanks for the great work!
The text was updated successfully, but these errors were encountered: