[bash] CTRL-R on bash 3: Use backticks to avoid delay

e0b29e437b
pull/3448/head
Junegunn Choi 8 months ago
parent 76364ea767
commit a3ff49aaf1
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -113,7 +113,7 @@ if (( BASH_VERSINFO[0] < 4 )); then
bind -m vi-insert '"\C-t": "\C-z\C-t\C-z"'
# CTRL-R - Paste the selected command from history into the command line
bind -m emacs-standard '"\C-r": "\C-e \C-u\C-y\ey\C-u"$(__fzf_history__)"\e\C-e\er"'
bind -m emacs-standard '"\C-r": "\C-e \C-u\C-y\ey\C-u`__fzf_history__`\e\C-e\er"'
bind -m vi-command '"\C-r": "\C-z\C-r\C-z"'
bind -m vi-insert '"\C-r": "\C-z\C-r\C-z"'
else

Loading…
Cancel
Save