⌕
fzf

fzf 0.75.0

命令行模糊查找神器。

绿色版WindowsMIT
发布 2026-11-07 · 核验 2026-11-15
立即下载

软件简介

fzf 可以对文件、历史命令、进程等任何列表进行交互式模糊搜索。

功能特点

  • 交互式模糊搜索
  • 预览窗口
  • Shell 集成
  • 单文件
更新日志 · 0.75.0
  • Added {change,transform,bg-transform}-info-command actions (#4951) (@casperdcl)

```sh

seq 100 | fzf --info-command 'echo "mode: A | $FZF_INFO"' \

--bind 'ctrl-a:change-info-command:echo "mode: A | $FZF_INFO"' \

--bind 'ctrl-b:change-info-command:echo "mode: B | $FZF_INFO"'

```

  • transform-nth and transform-with-nth (and their bg- variants) no longer split the output at |
  • Only change-nth and change-with-nth rotate through |-separated values
  • Fixed the bound command being replaced with the output. e.g. With transform-nth(echo '1|2'), the next key press ran 2|1 as a shell command.
  • A --with-nth template in the output can now contain |. e.g. {2}|{1} was cut to {2}.
  • change-nth and transform-nth now handle empty and invalid values the same way as change-with-nth and transform-with-nth
  • An empty value restores the default --nth. Previously, change-nth() and an empty transform-nth output searched all fields. Use change-nth(..) for that.
  • A non-empty invalid value is ignored. Previously, it restored the default --nth.
  • change-nth and change-with-nth now apply the value after the current one in the |-separated list
  • A value equal to the current one is skipped, e.g. the first value when it is the initial --nth
  • Invalid values in the list are skipped
  • The rotation follows the current value even when another binding changed it, or when the action is printed by transform (unless the list contains the same value more than once)
  • You can list the values in their natural order, starting with the initial one

```sh

# Previously, you would have to write:

ls -al | fzf --with-nth .. --bind 'space:change-with-nth:1|2|..'

# Now you can write:

ls -al | fzf --with-nth .. --bind 'space:change-with-nth:..|1|2'

```

  • Fixed --no-sort being ignored in filter mode with --sync, --tac, or --bench (#4940) (@NavpreetSSidhu)
  • Fixed --walker=follow skipping a symlink in one --walker-root when its target is an ancestor of another root (#4944) (@mabunemeh)
  • Fixed data races in the preview and the search result cache (#4947)
  • Fixed O(n^2) action parsing in --listen. A single ~1 MB request could block the server for ~30 s (@zachariah-mithani, AploSec)
  • Windows
  • Fixed --with-shell on Windows not detecting cmd, PowerShell, and pwsh, which made fzf quote commands and entries for a POSIX shell (#4936) (@vimkim)
  • e.g. With --with-shell "cmd.exe /d /c", --preview '"C:\Program Files\nu\bin\nu.exe" --version' failed
  • Added .msi installers for amd64 and arm64, also offered through winget (#4943) (@meop)
  • The portable package runs fzf through a symlink in the WinGet Links folder, which an administrator's SSH session refuses to follow
  • The MSI installs fzf.exe under Program Files and adds it to the system PATH
  • winget upgrade keeps an existing portable install. To switch to the MSI, run winget uninstall junegunn.fzf and winget install junegunn.fzf.
  • Vim plugin
  • Fixed garbage text on screen in Neovim with set title when the fzf command contains ANSI escape sequences (#4941)
  • nushell
  • The completion integration now requires nushell 0.116.1 or above, where an interactive completer can take the terminal through the @interactive attribute (#4934) (@sim590)

下载地址

官方下载直接指向软件作者的发布地址;网盘镜像为同一文件的转存,下载后可用 SHA-256 核对(官方未提供校验值的文件除外)。

  • Windows x64 · 绿色版 ZIP 绿色免安装fzf-0.75.0-windows_amd64.zip · 2.4 MB

相关推荐