fzf 0.75.0
命令行模糊查找神器。
绿色版WindowsMIT
软件简介
fzf 可以对文件、历史命令、进程等任何列表进行交互式模糊搜索。
功能特点
- 交互式模糊搜索
- 预览窗口
- Shell 集成
- 单文件
更新日志 · 0.75.0
- Added
{change,transform,bg-transform}-info-commandactions (#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-nthandtransform-with-nth(and theirbg-variants) no longer split the output at|- Only
change-nthandchange-with-nthrotate through|-separated values - Fixed the bound command being replaced with the output. e.g. With
transform-nth(echo '1|2'), the next key press ran2|1as a shell command. - A
--with-nthtemplate in the output can now contain|. e.g.{2}|{1}was cut to{2}. change-nthandtransform-nthnow handle empty and invalid values the same way aschange-with-nthandtransform-with-nth- An empty value restores the default
--nth. Previously,change-nth()and an emptytransform-nthoutput searched all fields. Usechange-nth(..)for that. - A non-empty invalid value is ignored. Previously, it restored the default
--nth. change-nthandchange-with-nthnow 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-sortbeing ignored in filter mode with--sync,--tac, or--bench(#4940) (@NavpreetSSidhu) - Fixed
--walker=followskipping a symlink in one--walker-rootwhen 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-shellon 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
.msiinstallers 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.exeunder Program Files and adds it to the system PATH winget upgradekeeps an existing portable install. To switch to the MSI, runwinget uninstall junegunn.fzfandwinget install junegunn.fzf.- Vim plugin
- Fixed garbage text on screen in Neovim with
set titlewhen 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
@interactiveattribute (#4934) (@sim590)
下载地址
官方下载直接指向软件作者的发布地址;网盘镜像为同一文件的转存,下载后可用 SHA-256 核对(官方未提供校验值的文件除外)。
-
Windows x64 · 绿色版 ZIP 绿色免安装fzf-0.75.0-windows_amd64.zip · 2.4 MB