summaryrefslogtreecommitdiff
path: root/shell/key-bindings.fish
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-29 20:13:41 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-29 20:13:41 +0900
commited53ef7cee216725581a8f0da0422f97cfda02f7 (patch)
tree15fcc637e9c6172c5ecf00117a36dea3e75a0109 /shell/key-bindings.fish
parent12630b124d0c28dffb33e815d439afae5a3e5433 (diff)
downloadfzf-ed53ef7cee216725581a8f0da0422f97cfda02f7.tar.gz
[shell] Add --highlight-line to CTRL-R bindings
Diffstat (limited to 'shell/key-bindings.fish')
-rw-r--r--shell/key-bindings.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish
index 4c780ce8..150de0fa 100644
--- a/shell/key-bindings.fish
+++ b/shell/key-bindings.fish
@@ -59,7 +59,7 @@ function fzf_key_bindings
function fzf-history-widget -d "Show command history"
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
begin
- set -lx FZF_DEFAULT_OPTS (__fzf_defaults "" "--scheme=history --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m")
+ set -lx FZF_DEFAULT_OPTS (__fzf_defaults "" "--scheme=history --bind=ctrl-r:toggle-sort --highlight-line $FZF_CTRL_R_OPTS +m")
set -lx FZF_DEFAULT_OPTS_FILE ''
set -l FISH_MAJOR (echo $version | cut -f1 -d.)