fzf.vim 常用命令中文翻译
本文章翻译自:https://github.com/junegunn/fzf.vim/edit/master/README.md
###依赖关系(部分需要自行安装)
- [fzf]0.23.0或更高版本
- 对于突出显示的语法预览,请安装bat
- 如果delta是可用的,
gf?,提交bcommits将使用它格式化git diff`输出。 ag需要[The Silver Searcher(ag) ][ag]rg需要[ripgrep(rg)][rg]tags和helptags需要 perl
命令
| 命令 | 列表 |
|---|---|
:files[path] | files(如果已定义,则运行$fzf_default_命令) |
:gfiles[opts]git文件(git-ls-files) | |
:gfiles? git文件(git status) | |
:缓冲区打开缓冲区 | |
:颜色配色方案 | |
:ag[pattern][ag][ag]搜索结果(alt-a选择全部,alt-d取消选择全部) | |
:rg[pattern][rg][rg]搜索结果(alt-a选择全部,alt-d取消选择全部) | |
:lines[query] | 已加载缓冲区中的行 |
:blines[query]当前缓冲区中的行 | |
:tags[query] | 项目中的标记(ctags-r) |
:btags[query] | 当前缓冲区中的标记 |
:marks | marks |
:窗口窗口 | |
:locate模式 | locate命令输出 |
:history``v:oldfiles和打开的缓冲区 | |
:历史记录:命令历史记录 | |
:history/ | 搜索历史记录 |
:snippets | snippets([ultisnips][us]) |
:commits | git commits(需要[survious.vim][f]) |
:bcommits | git提交当前缓冲区;目视选择线以跟踪范围内的更改 |
:commands | commands |
:maps | 正常模式映射 |
:helptags;帮助标签[1](#helptags) | |
:filetypes | 文件类型 |
版权(License)
MIT
[fzf]:https://github.com/junegunn/fzf
[run]: https://github.com/junegunn/fzf/blob/master/README-VIM.md#fzfrun
[vimrc]: https://github.com/junegunn/dotfiles/blob/master/vimrc
[ag]: https://github.com/ggreer/the_silver_searcher
[rg]: https://github.com/BurntSushi/ripgrep
[us]: https://github.com/SirVer/ultisnips
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
