summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-06-07 23:07:03 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-06-07 23:07:03 +0900
commita7aa08ce07e2c21ac9ed8621e46cbe989228f3cd (patch)
treec2b82601fe5ab28177098a69e84541639aa926ee /man
parent06d63a862e900dcc6ee6c2335120cc8cb939698f (diff)
Add backward-eof event for --bind
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.121
1 files changed, 16 insertions, 5 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 3adf7f1b..9f17177a 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -635,12 +635,23 @@ e.g.
or any single character
.SS AVAILABLE EVENTS:
-\fIchange\fR (triggered whenever the query string is changed)
-.br
+\fIchange\fR
+.RS
+Triggered whenever the query string is changed
+
+e.g.
+ \fB# Moves cursor to the top (or bottom depending on --layout) whenever the query is changed
+ fzf --bind change:top\fR
+.RE
- e.g.
- \fB# Moves cursor to the top (or bottom depending on --layout) whenever the query is changed
- fzf --bind change:top\fR
+\fIbackward-eof\fR
+.RS
+Triggered when the query string is already empty and you try to delete it
+backward.
+
+e.g.
+ \fBfzf --bind backward-eof:abort\fR
+.RE
.SS AVAILABLE ACTIONS:
A key or an event can be bound to one or more of the following actions.