mirror of
https://github.com/junegunn/fzf.git
synced 2026-05-04 12:55:53 +08:00
[bash] CTRL-R on bash 3: Use backticks to avoid delay
https://github.com/junegunn/fzf/commit/e0b29e437be458066fca4dab39b282dfc11466f6
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user