diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-17 18:09:29 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-17 18:09:29 +0900 |
| commit | 8ac37d59278209a7aec536f319c26109ef6704eb (patch) | |
| tree | b5eaf12d5a739de6def061893fe378ec87425f30 /shell/key-bindings.bash | |
| parent | 7ef0e50507e3896edc1b624d5ea5e73b7fac3506 (diff) | |
| download | fzf-8ac37d59278209a7aec536f319c26109ef6704eb.tar.gz | |
[shell] Do not override --reverse in CTRL-R
Close #807
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 f8e47f5f..cbc1c488 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -56,7 +56,7 @@ __fzf_history__() ( shopt -u nocaseglob nocasematch line=$( HISTTIMEFORMAT= history | - FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS +s --tac --no-reverse -n2..,.. --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS +m" $(__fzfcmd) | + FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS +s --tac -n2..,.. --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS +m" $(__fzfcmd) | command grep '^ *[0-9]') && if [[ $- =~ H ]]; then sed 's/^ *\([0-9]*\)\** .*/!\1/' <<< "$line" |
