summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-09-27 09:16:16 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-09-27 09:16:16 +0900
commita3ff49aaf18eceefe4bf8b1df5bf275b3d982493 (patch)
tree170be4e333ef881dcaeb74dfa42292982d5f4fb2 /shell
parent76364ea767cca7ca8f6570a049fbb8d3fff751a9 (diff)
[bash] CTRL-R on bash 3: Use backticks to avoid delay
https://github.com/junegunn/fzf/commit/e0b29e437be458066fca4dab39b282dfc11466f6
Diffstat (limited to 'shell')
-rw-r--r--shell/key-bindings.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash
index a0d0bdad..8654a6f2 100644
--- a/shell/key-bindings.bash
+++ b/shell/key-bindings.bash
@@ -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