summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-13 00:13:31 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-13 00:13:31 +0900
commitd83eb2800a09d86e17c0339d86bd1f22f68164a8 (patch)
tree0be6b9c97bf9f8434a367fe2996b82f4b4e36f95 /CHANGELOG.md
parent6f943112a9998d504a5660754f400786e79f80b2 (diff)
downloadfzf-d83eb2800a09d86e17c0339d86bd1f22f68164a8.tar.gz
Add change-nth action
Example: # Start with --nth 1, then 2, then 3, then back to the default, 1 echo 'foo foobar foobarbaz' | fzf --bind 'space:change-nth(2|3|)' --nth 1 -q foo Close #4172 Close #3109
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e6e7cc4..3e30749b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -67,6 +67,11 @@ Also, fzf now offers "style presets" for quick customization, which can be activ
```
- Added `toggle-multi-line` action
- Added `toggle-hscroll` action
+- Added `change-nth` action for dynamically changing the value of the `--nth` option
+ ```sh
+ # Start with --nth 1, then 2, then 3, then back to the default, 1
+ echo 'foo foobar foobarbaz' | fzf --bind 'space:change-nth(2|3|)' --nth 1 -q foo
+ ```
- A single-character delimiter is now treated as a plain string delimiter rather than a regular expression delimiter, even if it's a regular expression meta-character.
- This means you can just write `--delimiter '|'` instead of escaping it as `--delimiter '\|'`
- Bug fixes