> For the complete documentation index, see [llms.txt](https://doc.tanmer.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.tanmer.cn/gong-ju-ruan-jian/fzf-fuzzy-finder.md).

# fzf(Fuzzy Finder)

<https://github.com/junegunn/fzf>

这是一个超快的文件路径模糊搜索工具，功能就像`Sublime Text`的`ctrl+p`,输入`acacrb`就能搜索出文件`app/controller/application_controller.rb`

## 安装

```bash
brew install fzf
```

## Vim支持fzf

{% code title="\~/.vimrc" %}

```
set rtp+=/usr/local/opt/fzf
" 设置快捷键\+f开启搜索
map <Leader>f :FZF<CR>
```

{% endcode %}

![](/files/-LAZ4MFsrCk3h_ovkNLO)
