diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-14 23:13:52 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-14 23:13:52 +0900 |
commit | e8b34cb00d4446e69e7af3d31eafcf76747d34c7 (patch) | |
tree | b55ceca7680aa2586ebc59ed45de49a4ba41dc86 | |
parent | 82954258c1c9f61bb6bb764c51470ffbcee01b6c (diff) |
Clarification on accept-or-print-query vs. become
-rw-r--r-- | CHANGELOG.md | 4 |
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 |