Fixing fzf behavior

This commit is contained in:
James Patrick 2024-07-12 00:00:50 -04:00
parent f46c37cf6b
commit b8c522c733
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,12 @@
# CTRL+space to accept Autosuggest's suggestion. # CTRL+space to accept Autosuggest's suggestion.
bindkey '^ ' autosuggest-accept bindkey '^ ' autosuggest-accept
# fzf
# If fzf is installed, source fzf key bindings.
if (( $+commands[fzf] )); then
source <(fzf --zsh)
fi
# Open command in $EDITOR # Open command in $EDITOR
bindkey '^E' edit-command-line bindkey '^E' edit-command-line
bindkey -M vicmd "v" edit-command-line bindkey -M vicmd "v" edit-command-line

View File

@ -10,7 +10,6 @@ zgenom autoupdate
if ! zgenom saved; then if ! zgenom saved; then
zgenom load hlissner/zsh-autopair zgenom load hlissner/zsh-autopair
zgenom load unixorn/fzf-zsh-plugin
zgenom load zsh-users/zsh-autosuggestions zgenom load zsh-users/zsh-autosuggestions
zgenom load zsh-users/zsh-completions zgenom load zsh-users/zsh-completions
zgenom load zdharma-continuum/fast-syntax-highlighting zgenom load zdharma-continuum/fast-syntax-highlighting