Skip to content
Myr

Use --bind instead of --toggle-sort

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

Related #822

authored by Junegunn Choi · committed by Junegunn Choi · parent 2e3e721 · Browse files · 4 files+4 added−4 removed
This commit

State

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

Diff stats

4 files+4 added−4 removed

  • other:+4 added−4 removed

4 files+4 added−4 removed

modified:man/man1/fzf.1+1 added-1 removed
485 unmodified lines
486 \fBtoggle+down\fR \fIctrl-i (tab)\fR487 \fBtoggle-in\fR (\fB--reverse\fR ? \fBtoggle+up\fR : \fBtoggle+down\fR)488 \fBtoggle-out\fR (\fB--reverse\fR ? \fBtoggle+down\fR : \fBtoggle+up\fR)489 \fBtoggle-preview\fR490 \fBtoggle-sort\fR (equivalent to \fB--toggle-sort\fR)490 \fBtoggle-sort\fR491 \fBtoggle+up\fR \fIbtab (shift-tab)\fR492 \fBunix-line-discard\fR \fIctrl-u\fR493 \fBunix-word-rubout\fR \fIctrl-w\fR494 \fBup\fR \fIctrl-k ctrl-p up\fR
61 unmodified lines
modified:shell/key-bindings.bash+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 --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS +m"48 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"49 history | eval (__fzfcmd) -q '(commandline)' | read -l result50 and commandline -- $result51 end52 commandline -f repaint
35 unmodified lines
modified:shell/key-bindings.zsh+1 added-1 removed