Fix key binding trigger delay (#14)

Only a problem with `set blink-matching-paren on` in .inputrc, in which
case there was a delay before the key bindings were triggered.

Related: junegunn/fzf#580.
main
ptzz 2 years ago committed by GitHub
parent 926a33da4d
commit a409f051ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -228,8 +228,8 @@ if [[ -n "${BASH_VERSION:-}" ]]; then
bind '"\er": redraw-current-line'
local o
for o in "$@"; do
bind '"\C-g\C-'${o:0:1}'": "$(_fzf_git_'$o')\e\C-e\er"'
bind '"\C-g'${o:0:1}'": "$(_fzf_git_'$o')\e\C-e\er"'
bind '"\C-g\C-'${o:0:1}'": "`_fzf_git_'$o'`\e\C-e\er"'
bind '"\C-g'${o:0:1}'": "`_fzf_git_'$o'`\e\C-e\er"'
done
}
elif [[ -n "${ZSH_VERSION:-}" ]]; then

Loading…
Cancel
Save