summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-12-14 23:13:52 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-12-14 23:13:52 +0900
commite8b34cb00d4446e69e7af3d31eafcf76747d34c7 (patch)
treeb55ceca7680aa2586ebc59ed45de49a4ba41dc86 /CHANGELOG.md
parent82954258c1c9f61bb6bb764c51470ffbcee01b6c (diff)
Clarification on accept-or-print-query vs. become
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 63d6626a..378238d6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,10 @@ CHANGELOG
# 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'
```
+ - Note that this new action isn't fundamentally different from the following `become` binding. `become` is apparently more versatile but it's not available on Windows.
+ ```sh
+ export FZF_CTRL_R_OPTS='--bind "enter:become:if [[ -n {} ]]; then echo {}; else echo {q}; fi"'
+ ```
- Bug fixes
0.44.1