summaryrefslogtreecommitdiff
path: root/shell/key-bindings.fish
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-03-23 03:00:20 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-03-23 03:00:20 +0900
commita57b375b413e12b01e648d4fcaf91e29a53ae75d (patch)
tree1f520aa0e797ad9b73807615b5b7f5b637186fb0 /shell/key-bindings.fish
parent6cc9d539783716c8e614364562cce8709be2957f (diff)
downloadfzf-a57b375b413e12b01e648d4fcaf91e29a53ae75d.tar.gz
Add $FZF_CTRL_R_OPTS for overriding the default options for CTRL-R
Close #526
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 40a1fee6..0a68b623 100644
--- a/shell/key-bindings.fish
+++ b/shell/key-bindings.fish
@@ -27,7 +27,7 @@ function fzf_key_bindings
end
function __fzf_ctrl_r
- history | eval (__fzfcmd) +s +m --tiebreak=index --toggle-sort=ctrl-r > $TMPDIR/fzf.result
+ history | eval (__fzfcmd) +s +m --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS > $TMPDIR/fzf.result
and commandline (cat $TMPDIR/fzf.result)
commandline -f repaint
rm -f $TMPDIR/fzf.result