2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-14 18:12:53 +00:00

Remove {fzf:query} from man page

This commit is contained in:
Junegunn Choi 2024-06-17 17:53:02 +09:00
parent ed12925f7d
commit 02634d404d
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -665,7 +665,7 @@ e.g.
Also, Also,
* \fB{q}\fR (or \fB{fzf:query}\fR) is replaced to the current query string * \fB{q}\fR is replaced to the current query string
.br .br
* \fB{n}\fR is replaced to the zero-based ordinal index of the current item. * \fB{n}\fR is replaced to the zero-based ordinal index of the current item.
Use \fB{+n}\fR if you want all index numbers when multiple lines are selected. Use \fB{+n}\fR if you want all index numbers when multiple lines are selected.
@ -1295,7 +1295,7 @@ Triggered when the filtering for the current query is complete and the result li
e.g. e.g.
\fB# Put the cursor on the second item when the query string is empty \fB# Put the cursor on the second item when the query string is empty
# * Note that you can't use 'change' event in this case because the second position may not be available # * Note that you can't use 'change' event in this case because the second position may not be available
fzf --sync --bind 'result:transform:[[ -z {fzf:query} ]] && echo "pos(2)"'\fR fzf --sync --bind 'result:transform:[[ -z {q} ]] && echo "pos(2)"'\fR
.RE .RE
\fIchange\fR \fIchange\fR
.RS .RS