unite-file-vcs


Ⅰ. 插件描述

Provides VCS file-list source

Ⅱ. 基本信息

创建日期:  2013-08-16
使用用户:  1
Github星:  3
插件作者:  Mun Mun Das

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'm2mdas/unite-file-vcs'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'm2mdas/unite-file-vcs'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'm2mdas/unite-file-vcs'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/m2mdas/unite-file-vcs

Ⅳ. 文档说明

This plugin adds a unite.vim source that lists VCS file-lists as candidates.The plugin automatically detects VCS program of the project. Supported VCS programs are git, hg and svn.

Requirements

Usage

You can add following mapping to your .vimrc file.

nnoremap <leader>fv :<C-u>Unite -start-insert -no-split -buffer-name=file_vcs file/vcs<CR>

Please note that current directory of your vim buffer/tab must be the root directory of the project to get the candidates.

添加新评论