summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2022-12-29 20:01:50 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2022-12-29 20:01:50 +0900
commit14775aa975c147b92c6a9011a0991538cf9e82fe (patch)
tree93fd449b5c3613b2dfa0c4689a8e8b5e0dc011e3 /man
parent44b63363729adfc6f477bedcfb4c7b6a379b948b (diff)
Add 'load' event that is triggered when the input stream is complete
and the first search (with or without query) is complete
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.19
1 files changed, 9 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index f5e01b6e..5983dcfb 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -927,6 +927,15 @@ e.g.
\fB# Move cursor to the last item and select all items
seq 1000 | fzf --multi --sync --bind start:last+select-all\fR
.RE
+\fIload\fR
+.RS
+Triggered when the input stream is complete and the initial processing of the
+list is complete.
+
+e.g.
+ \fB# Change the prompt to "loaded" when the input stream is complete
+ (seq 10; sleep 1; seq 11 20) | fzf --prompt 'Loading> ' --bind 'load:change-prompt:Loaded> '\fR
+.RE
\fIchange\fR
.RS
Triggered whenever the query string is changed