From e84afe196a85f677aef272677a346082f88bdfb6 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 1 Feb 2025 11:16:16 +0900 Subject: Add {show,hide,toggle}-input and expose $FZF_INPUT_STATE --- man/man1/fzf.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'man') 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 -- cgit v1.2.3