summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorJacobo de Vera <devel@jacobodevera.com>2025-10-11 17:57:31 +0100
committerGitHub <noreply@github.com>2025-10-12 01:57:31 +0900
commit0e9026b817696baed3ff48be8ecf2b6352586c7b (patch)
tree632a5c18766b602cfc85e3c64f8153af4f6f1a57 /CHANGELOG.md
parentab407c4645952d09c4bb9b481b178717f0a0578f (diff)
downloadfzf-0e9026b817696baed3ff48be8ecf2b6352586c7b.tar.gz
feat: Allow disabling Ctrl-R binding in shell integration (#4535)
Close #4417
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 61ea3a28..db5be813 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,7 @@ This version introduces many new features centered around the new "raw" mode.
| Enhancement | Key | `CTRL-N` | `down` -> `down-match` |
| Enhancement | Key | `CTRL-P` | `up` -> `up-match` |
| Enhancement | Shell | `CTRL-R` binding | Toggle raw mode with `ALT-R` |
+| Enhancement | Shell | `CTRL-R` binding | Opt-out with an empty `FZF_CTRL_R_COMMAND` |
### Introducing "raw" mode
@@ -231,6 +232,17 @@ As described above, `$FZF_RAW` is now exported to child processes in raw mode,
indicating whether the current item is a match (`1`) or not (`0`). It is not
defined when not in raw mode.
+#### `$FZF_CTRL_R_COMMAND`
+
+You can opt-out `CTRL-R` binding from the shell integration by setting
+`FZF_CTRL_R_COMMAND` to an empty string. Setting it to any other value is not
+supported and will result in a warning.
+
+```sh
+# Disable the CTRL-R binding from the shell integration
+FZF_CTRL_R_COMMAND= eval "$(fzf --bash)"
+```
+
### Added key support for `--bind`
Pull request #3996 added support for many additional keys for `--bind` option,