Skip to content
Myr

[fish] Add toggle-sort back to CTRL-R (#759)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent f2ce233 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:shell/key-bindings.fish+1 added-1 removed
43 unmodified lines
4445 function fzf-history-widget -d "Show command history"46 set -q FZF_TMUX_HEIGHT; or set FZF_TMUX_HEIGHT 40%47 begin48 set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS +s --tiebreak=index $FZF_CTRL_R_OPTS +m"48 set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS +s --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS +m"49 history | eval (__fzfcmd) -q '(commandline)' | read -l result50 and commandline -- $result51 end52 commandline -f repaint
35 unmodified lines