diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2016-03-23 03:00:20 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-03-23 03:00:20 +0900 |
| commit | a57b375b413e12b01e648d4fcaf91e29a53ae75d (patch) | |
| tree | 1f520aa0e797ad9b73807615b5b7f5b637186fb0 /shell/key-bindings.bash | |
| parent | 6cc9d539783716c8e614364562cce8709be2957f (diff) | |
| download | fzf-a57b375b413e12b01e648d4fcaf91e29a53ae75d.tar.gz | |
Add $FZF_CTRL_R_OPTS for overriding the default options for CTRL-R
Close #526
Diffstat (limited to 'shell/key-bindings.bash')
| -rw-r--r-- | shell/key-bindings.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index 34adc2bc..042e005c 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -49,7 +49,7 @@ __fzf_history__() ( shopt -u nocaseglob nocasematch line=$( HISTTIMEFORMAT= history | - $(__fzfcmd) +s --tac +m -n2..,.. --tiebreak=index --toggle-sort=ctrl-r | + $(__fzfcmd) +s --tac +m -n2..,.. --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS | \grep '^ *[0-9]') && if [[ $- =~ H ]]; then sed 's/^ *\([0-9]*\)\** .*/!\1/' <<< "$line" |
