Skip to content
Myr

Remove {fzf:query} from man page

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 ed12925 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:man/man1/fzf.1+2 added-2 removed
663 unmodified lines
664 --preview "awk '{sum+=\\$1} END {print sum}' {+f}"\fR665666Also,667668* \fB{q}\fR (or \fB{fzf:query}\fR) is replaced to the current query string668* \fB{q}\fR is replaced to the current query string669.br670* \fB{n}\fR is replaced to the zero-based ordinal index of the current item.671 Use \fB{+n}\fR if you want all index numbers when multiple lines are selected.672.br
621 unmodified lines
12941295e.g.1296 \fB# Put the cursor on the second item when the query string is empty1297 # * Note that you can't use 'change' event in this case because the second position may not be available1298 fzf --sync --bind 'result:transform:[[ -z {fzf:query} ]] && echo "pos(2)"'\fR1298 fzf --sync --bind 'result:transform:[[ -z {q} ]] && echo "pos(2)"'\fR1299.RE1300\fIchange\fR1301.RS1302Triggered whenever the query string is changed
360 unmodified lines