summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-17 17:53:02 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-17 17:53:02 +0900
commit02634d404ded8ecb03468e2ad92b59691bf733f6 (patch)
tree8ea807e0c91bea8f5a799759b98463aad85981b5 /man
parented12925f7dbceaedae58b2e202f1b1f443b04ab5 (diff)
downloadfzf-02634d404ded8ecb03468e2ad92b59691bf733f6.tar.gz
Remove {fzf:query} from man page
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.14
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 3327e48c..59140272 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -665,7 +665,7 @@ e.g.
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
* \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.
@@ -1295,7 +1295,7 @@ Triggered when the filtering for the current query is complete and the result li
e.g.
\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
- fzf --sync --bind 'result:transform:[[ -z {fzf:query} ]] && echo "pos(2)"'\fR
+ fzf --sync --bind 'result:transform:[[ -z {q} ]] && echo "pos(2)"'\fR
.RE
\fIchange\fR
.RS