From a24deef77bc1b9f1b5293b951288662dc2f7704a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 24 May 2026 00:15:16 +0900 Subject: [PATCH] 0.73.0 --- CHANGELOG.md | 19 ++++++++++++++----- README.md | 5 +++-- install | 2 +- install.ps1 | 2 +- main.go | 2 +- man/man1/fzf-tmux.1 | 2 +- man/man1/fzf.1 | 2 +- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf93b0f7..28e12ca9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,13 @@ CHANGELOG 0.73.0 ------ -- Timer-driven `every(N)` event for `--bind`, where `N` is seconds (fractional, floored to `0.01`). Ticks that overlap an in-flight action are coalesced, so a slow `reload` cannot accumulate a backlog. -- New `FZF_CURRENT_ITEM` environment variable exported to child processes, holding the text of the current item. Useful on shells where quoting `{}` is awkward (e.g. PowerShell on Windows). Unset when the list is empty (#4802). -- New `FZF_IDLE_TIME` (whole seconds) and `FZF_IDLE_TIME_MS` (milliseconds) environment variables exported to child processes, holding the elapsed time since the last user activity. Pair with `every(N)` to build idle-based behavior such as auto-accept or auto-quit (#1211). +_Release highlights: https://junegunn.github.io/fzf/releases/0.73.0/_ + +- Nushell integration via `fzf --nushell` and the installer (#4630) (@sim590) +- New `--preview-window=next` position that places the preview adjacent to the input section, on the list side: above the input in the default layout, below it in `--layout=reverse` (#4798) +- Timer-driven `every(N)` event for `--bind`, where `N` is seconds +- Added `$FZF_IDLE_TIME` (whole seconds) and `$FZF_IDLE_TIME_MS` (milliseconds), holding the elapsed time since the last user activity + - Pair with `every(N)` to build idle-based behavior such as auto-accept or auto-quit (#1211) ```sh # Live process list; --track --id-nth 2 keeps the cursor on the same PID across reloads fzf --header-lines 1 --track --id-nth 2 --bind 'start,every(2):reload-sync:ps -ef' @@ -17,9 +21,14 @@ CHANGELOG else echo accept fi' ``` -- New `--preview-window=next` position that places the preview adjacent to the input section, on the list side: above the input in the default layout, below it in `--layout=reverse` (#4798). +- Added `$FZF_CURRENT_ITEM` for shells where quoting `{}` is awkward (#4802) - Bug fixes - - `change-preview-window` no longer resets `wrap` / `wrap-word` state set via `toggle-preview-wrap` / `toggle-preview-wrap-word`. Layout fields still snap to the preset, so cycling and the empty-token reset behave as before. The new spec can still override by including `wrap` or `nowrap` explicitly. (#4791) + - Scoring: non-word characters at the start of input or after a delimiter now receive the same boundary bonus as word characters (#4795) + - `change-preview-window` no longer resets `wrap` / `wrap-word` state set via `toggle-preview-wrap` / `toggle-preview-wrap-word` (#4791) + - Stripped UTF-8-encoded C1 control characters from rendered items to prevent terminal control-sequence injection + - Fixed integer-overflow panic in `FuzzyMatchV2` on 32-bit builds (Michal Majchrowicz, Marcin Wyczechowski, AFINE Team) + - Fixed `bg-transform` `reload` / `exclude` payloads being dropped + - Fixed rendering glitch with preview window on the left combined with footer 0.72.0 ------ diff --git a/README.md b/README.md index ee396df4..f3ddd17e 100644 --- a/README.md +++ b/README.md @@ -533,15 +533,16 @@ the following key bindings in bash, zsh, fish, and Nushell. ``` - Can be disabled by setting `FZF_CTRL_T_COMMAND` to an empty string when sourcing the script -- `CTRL-R` - Paste the selected command from history onto the command-line. With fish shell, it is possible to select multiple commands. +- `CTRL-R` - Paste the selected command from history onto the command-line. + - Select multiple commands with `TAB`. - If you want to see the commands in chronological order, press `CTRL-R` again which toggles sorting by relevance - Press `ALT-R` to toggle "raw" mode where you can see the surrounding items of a match. In this mode, you can press `CTRL-N` and `CTRL-P` to move between the matching items only. - Press `CTRL-/` or `ALT-/` to toggle line wrapping + - Press `SHIFT-DELETE` to delete the selected commands (bash and fish) - Fish shell only: - - Press `SHIFT-DELETE` to delete the selected commands - Press `ALT-ENTER` to reformat and insert the selected commands - Press `ALT-T` to cycle through command prefix (timestamp, date/time, none) - Set `FZF_CTRL_R_OPTS` to pass additional options to fzf diff --git a/install b/install index 8dfab0c4..1e9f7788 100755 --- a/install +++ b/install @@ -2,7 +2,7 @@ set -u -version=0.72.0 +version=0.73.0 auto_completion= key_bindings= update_config=2 diff --git a/install.ps1 b/install.ps1 index d4375f1a..429e3430 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,4 +1,4 @@ -$version="0.72.0" +$version="0.73.0" $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition diff --git a/main.go b/main.go index d47bd706..3bad3043 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "github.com/junegunn/fzf/src/protector" ) -var version = "0.72" +var version = "0.73" var revision = "devel" //go:embed shell/key-bindings.bash diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 79a078ed..24731a4a 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf\-tmux 1 "Apr 2026" "fzf 0.72.0" "fzf\-tmux - open fzf in tmux split pane" +.TH fzf\-tmux 1 "May 2026" "fzf 0.73.0" "fzf\-tmux - open fzf in tmux split pane" .SH NAME fzf\-tmux - open fzf in tmux split pane diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 281649ae..c31198ce 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Apr 2026" "fzf 0.72.0" "fzf - a command-line fuzzy finder" +.TH fzf 1 "May 2026" "fzf 0.73.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder