diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-29 02:59:32 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-29 02:59:32 +0900 |
commit | 2a167aa030b244060fc479d2b88fdb9b9171d026 (patch) | |
tree | 69b994e5b97ad9a07107569fcb1227de7c886cbb /man/man1 | |
parent | 9cfecf7f0bb52441c27b769427fdf05f45b3110d (diff) |
Implement --expect option to support simple key bindings (#163)
Diffstat (limited to 'man/man1')
-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 bfb358f4..c6bf054e 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -108,6 +108,17 @@ Filter mode. Do not start interactive finder. .B "--print-query" Print query as the first line .TP +.BI "--expect=" "KEY[,..]" +Comma-separated list of keys (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR, +or a single character) that can be used to complete fzf in addition to the +default enter key. When this option is set, fzf will print the name of the key +pressed as the first line of its output (or as the second line if +\fB--print-query\fR is also used). The line will be empty if fzf is completed +with the default enter key. +.RS +e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s,f1,f2,~,@\fR +.RE +.TP .B "--sync" Synchronous search for multi-staged filtering .RS |