Ⅰ. 插件描述
Project navigation with fzfⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vigemus/fzf-proj-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vigemus/fzf-proj-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vigemus/fzf-proj-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vigemus/fzf-proj.vim
Ⅳ. 文档说明
# fzf-proj.vim
Project navigation with fzf
Defined commands
:Projects - Fuzzy-find your projects. Sets tcd to the selected folder.:Grep - Prompts for a query and fuzzy-finds the results.:GitDirty - Fuzzy-find on the dirty/uncommited files on your git project.:GitUnsynced - Fuzzy-find on the unpushed files.
Customizations
g:fzf#proj#project_dir - Sets the root project directory. Defaults to ~/code/g:fzf#proj#max_proj_depth - Sets the amount of folders between the root project directory and the projects, inclusively. Defaults to 1.g:fzf#proj#project#open_new_tab - Whether fzf-proj should open a new tab on the selected project or do on the current tab. Defaults to 1.g:fzf#proj#fancy_separator - A fancy, utf-8 arrow so your prompt looks better. Defaults to →.