Add 'zero' event

Close #3263
This commit is contained in:
Junegunn Choi
2023-04-26 15:13:08 +09:00
parent 65dd2bb429
commit cf95e44cb4
6 changed files with 49 additions and 7 deletions

View File

@@ -3,6 +3,11 @@ CHANGELOG
0.40.0
------
- Added `zero` event that is triggered when there's no match
```sh
# Reload the candidate list when there's no match
echo $RANDOM | fzf --bind 'zero:reload(echo $RANDOM)+clear-query' --height 3
```
- New actions
- Added `track` action which makes fzf track the current item when the
search result is updated. If the user manually moves the cursor, or the