summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-01 11:16:16 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-01 17:03:59 +0900
commite84afe196a85f677aef272677a346082f88bdfb6 (patch)
treeeb2c2e349321ad3cedf51fb69dba80f28c074da2 /man
parente1e171a3c458b8bc7dc347cbbd89be30f490ffb8 (diff)
downloadfzf-e84afe196a85f677aef272677a346082f88bdfb6.tar.gz
Add {show,hide,toggle}-input and expose $FZF_INPUT_STATE
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.19
1 files changed, 8 insertions, 1 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 0b3cabfc..c767fe14 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -623,7 +623,9 @@ Position of the list label
.TP
.B "\-\-no\-input"
Disable and hide the input section. You can no longer type in queries. To
-trigger a search, use \fBsearch\fR action.
+trigger a search, use \fBsearch\fR action. You can later show the input section
+using \fBshow\-input\fR or \fBtoggle\-input\fR action, and hide it again using
+\fBhide\-input\fR, or \fBtoggle\-input\fR.
.TP
.BI "\-\-prompt=" "STR"
@@ -1222,6 +1224,8 @@ fzf exports the following environment variables to its child processes.
.br
.BR FZF_QUERY " Current query string"
.br
+.BR FZF_INPUT_STATE " Current input state (enabled, disabled, hidden)"
+.br
.BR FZF_NTH " Current \-\-nth option"
.br
.BR FZF_PROMPT " Prompt string"
@@ -1610,6 +1614,7 @@ A key or an event can be bound to one or more of the following actions.
\fBhalf\-page\-down\fR
\fBhalf\-page\-up\fR
\fBhide\-header\fR
+ \fBhide\-input\fR
\fBhide\-preview\fR
\fBoffset\-down\fR (similar to CTRL\-E of Vim)
\fBoffset\-up\fR (similar to CTRL\-Y of Vim)
@@ -1638,6 +1643,7 @@ A key or an event can be bound to one or more of the following actions.
\fBselect\fR
\fBselect\-all\fR (select all matches)
\fBshow\-header\fR
+ \fBshow\-input\fR
\fBshow\-preview\fR
\fBtoggle\fR (\fIright\-click\fR)
\fBtoggle\-all\fR (toggle all matches)
@@ -1646,6 +1652,7 @@ A key or an event can be bound to one or more of the following actions.
\fBtoggle\-bind\fR
\fBtoggle\-header\fR
\fBtoggle\-hscroll\fR
+ \fBtoggle\-input\fR
\fBtoggle\-multi\-line\fR
\fBtoggle\-preview\fR
\fBtoggle\-preview\-wrap\fR