summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-04-13 14:00:16 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-04-13 14:00:16 +0900
commitfd1ba46f77532b4bc9b6af00db9dc8ecdf6e2b3f (patch)
treec284b39e0b6948e0ce12d2cacf830d586582d201 /man
parenta4745626dd5c5f697dbbc5e3aa1796d5016c1faf (diff)
Export $FZF_KEY environment variable to child processes
It's the name of the last key pressed. Related #3412
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.129
1 files changed, 15 insertions, 14 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 24048e77..fc621c3e 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -191,7 +191,7 @@ actions are affected:
\fBkill-word\fR
.TP
.BI "--jump-labels=" "CHARS"
-Label characters for \fBjump\fR and \fBjump-accept\fR
+Label characters for \fBjump\fR mode.
.SS Layout
.TP
.BI "--height=" "[~]HEIGHT[%]"
@@ -982,6 +982,8 @@ fzf exports the following environment variables to its child processes.
.br
.BR FZF_ACTION " The name of the last action performed"
.br
+.BR FZF_KEY " The name of the last key pressed"
+.br
.BR FZF_PORT " Port number when --listen option is used"
.br
@@ -1052,21 +1054,21 @@ e.g.
.br
\fIctrl-]\fR
.br
-\fIctrl-^\fR (\fIctrl-6\fR)
+\fIctrl-^\fR (\fIctrl-6\fR)
.br
-\fIctrl-/\fR (\fIctrl-_\fR)
+\fIctrl-/\fR (\fIctrl-_\fR)
.br
\fIctrl-alt-[a-z]\fR
.br
-\fIalt-[*]\fR (Any case-sensitive single character is allowed)
+\fIalt-[*]\fR (Any case-sensitive single character is allowed)
.br
\fIf[1-12]\fR
.br
-\fIenter\fR (\fIreturn\fR \fIctrl-m\fR)
+\fIenter\fR (\fIreturn\fR \fIctrl-m\fR)
.br
\fIspace\fR
.br
-\fIbspace\fR (\fIbs\fR)
+\fIbackspace\fR (\fIbspace\fR \fIbs\fR)
.br
\fIalt-up\fR
.br
@@ -1080,15 +1082,15 @@ e.g.
.br
\fIalt-space\fR
.br
-\fIalt-bspace\fR (\fIalt-bs\fR)
+\fIalt-backspace\fR (\fIalt-bspace\fR \fIalt-bs\fR)
.br
\fItab\fR
.br
-\fIbtab\fR (\fIshift-tab\fR)
+\fIshift-tab\fR (\fIbtab\fR)
.br
\fIesc\fR
.br
-\fIdel\fR
+\fIdelete\fR (\fIdel\fR)
.br
\fIup\fR
.br
@@ -1104,9 +1106,9 @@ e.g.
.br
\fIinsert\fR
.br
-\fIpgup\fR (\fIpage-up\fR)
+\fIpage-up\fR (\fIpgup\fR)
.br
-\fIpgdn\fR (\fIpage-down\fR)
+\fIpage-down\fR (\fIpgdn\fR)
.br
\fIshift-up\fR
.br
@@ -1248,7 +1250,7 @@ e.g.
\fIjump\fR
.RS
-Triggered when successfully jumped to the target item in \fB--jump\fR mode.
+Triggered when successfully jumped to the target item in \fBjump\fR mode.
e.g.
\fBfzf --bind space:jump,jump:accept\fR
@@ -1256,7 +1258,7 @@ e.g.
\fIjump-cancel\fR
.RS
-Triggered when \fB--jump\fR mode is cancelled.
+Triggered when \fBjump\fR mode is cancelled.
e.g.
\fBfzf --bind space:jump,jump:accept,jump-cancel:abort\fR
@@ -1304,7 +1306,6 @@ A key or an event can be bound to one or more of the following actions.
\fBforward-word\fR \fIalt-f shift-right\fR
\fBignore\fR
\fBjump\fR (EasyMotion-like 2-keystroke movement)
- \fBjump-accept\fR (jump and accept)
\fBkill-line\fR
\fBkill-word\fR \fIalt-d\fR
\fBlast\fR (move to the last match; same as \fBpos(-1)\fR)