diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-04-01 17:16:02 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-04-01 17:25:47 +0900 |
commit | 8ec917b1c36ed1cf6ace64419307aa85fda4bee3 (patch) | |
tree | 74d6f5e0e59a82ad13f0d51cd51aa8ee34c36025 /man | |
parent | 1c7534f00966edca7c44054af199ca27aca0a80c (diff) |
Add 'one' event
Close #2629
Close #2494
Close #459
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/fzf.1 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 7d5ea73e..4d958014 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -993,6 +993,17 @@ e.g. # Beware not to introduce an infinite loop seq 10 | fzf --bind 'focus:up' --cycle\fR .RE +\fIone\fR +.RS +Triggered when there's only one match. \fBone:accept\fR binding is comparable +to \fB--select-1\fR option, but the difference is that \fB--select-1\fR is only +effective before the interactive finder starts but \fBone\fR event is triggered +by the interactive finder. + +e.g. + \fB# Automatically select the only match + seq 10 | fzf --bind one:accept\fR +.RE \fIbackward-eof\fR .RS |