目录

FZF: 又一个文件模糊查询工具

fzf是个独立的命令行工具,索引速度很快,可以通过fzf-vim配合使用。

特性

功能支持还是比较全的:

CommandList
Files [PATH]Files (similar to :FZF )
GitFilesGit files
BuffersOpen buffers
ColorsColor schemes
Ag [PATTERN]{ag}{5} search result (ALT-A to select all, ALT-D to deselect all)
LinesLines in loaded buffers
BLinesLines in the current buffer
TagsTags in the project ( ctags -R )
BTagsTags in the current buffer
MarksMarks
WindowsWindows
Locate PATTERNlocate command output
Historyv:oldfiles and open buffers
History:Command history
History/Search history
SnippetsSnippets ({UltiSnips}{6})
CommitsGit commits (requires {fugitive.vim}{7})
BCommitsGit commits for the current buffer
CommandsCommands
MapsNormal mode mappings
HelptagsHelp tags [1]

结论

fzf需要在终端中执行,在vim中使用时需要另外启动一个xterm实例,UI的割裂感很强,而且xterm本身的操性你懂的。另外Tags模式需要两次回车。所以暂不会用它取代ctrlp和unite。