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.fish | |
| parent | 2e3e721344d7c34c43541048b2245092220e3893 (diff) | |
| download | fzf-95c77bfb98eff07c63599bb02a58f73d6c143e62.tar.gz | |
Use --bind instead of --toggle-sort
Related #822
Diffstat (limited to 'shell/key-bindings.fish')
| -rw-r--r-- | shell/key-bindings.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index 0b219f22..ce2d4e01 100644 --- a/shell/key-bindings.fish +++ b/shell/key-bindings.fish @@ -45,7 +45,7 @@ function fzf_key_bindings function fzf-history-widget -d "Show command history" set -q FZF_TMUX_HEIGHT; or set FZF_TMUX_HEIGHT 40% begin - set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS +s --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS +m" + set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS +s --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m" history | eval (__fzfcmd) -q '(commandline)' | read -l result and commandline -- $result end |
