diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-26 11:54:08 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-26 11:54:08 +0900 |
| commit | 95c77bfb98eff07c63599bb02a58f73d6c143e62 (patch) | |
| tree | 775c8d193f0ba2095704c650160cde49160c314d /shell/key-bindings.bash | |
| parent | 2e3e721344d7c34c43541048b2245092220e3893 (diff) | |
| download | fzf-95c77bfb98eff07c63599bb02a58f73d6c143e62.tar.gz | |
Use --bind instead of --toggle-sort
Related #822
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 cbc1c488..69dd0ce4 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 -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 --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m" $(__fzfcmd) | command grep '^ *[0-9]') && if [[ $- =~ H ]]; then sed 's/^ *\([0-9]*\)\** .*/!\1/' <<< "$line" |
