From 41bcbe342ff70020bd7aa776ca041205aa970f43 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 1 Jun 2024 13:20:12 +0900 Subject: Revert "An '--expect' key should execute actions bound to the key" To be backward compatible. Close #3829 --- man/man1/fzf.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man/man1') diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index c85d1069..f1bf04af 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -828,6 +828,14 @@ list. e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s --expect=f1,f2,~,@\fR .RE + +This option is not compatible with \fB--bind\fR on the same key and will take +precedence over it. To combine the two, use \fBprint\fR action. + +.RS +e.g. + \fBfzf --multi --bind 'enter:print()+accept,ctrl-y:select-all+print(ctrl-y)+accept'\fR +.RE .TP .B "--read0" Read input delimited by ASCII NUL characters instead of newline characters -- cgit v1.2.3