Add accept-or-print-query

Close #3528
This commit is contained in:
Junegunn Choi
2023-12-10 15:59:45 +09:00
parent a343b20775
commit c36a64be68
5 changed files with 49 additions and 0 deletions

View File

@@ -1,6 +1,16 @@
CHANGELOG
=========
0.44.2
------
- Added `accept-or-print-query` action that acts like `accept` but prints the
current query when there's no match for the query
```sh
# You can make CTRL-R paste the current query when there's no match
export FZF_CTRL_R_OPTS='--bind enter:accept-or-print-query'
```
- Bug fixes
0.44.1
------
- Fixed crash when preview window is hidden on `focus` event