Ⅰ. 插件描述
Subversion (svn) integration pluginⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/svncommand-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/svncommand-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/svncommand-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/svncommand.vim
Ⅳ. 文档说明
This is no longer maintained. See vcscommand vimscript #90 for a suitable replacement.
This is almost a straight port of cvscommand.vim to support subversion. There's some stuff hacked out, some stuff hacked in, and a lot of s/CVS/SVN/g going on.
Current support is for single file type ops, just like cvscommand.vim. The commandset available is basically: status, info, update, revert, diff, annotate, commit, add, log, vimdiff, review. It can also parse a svn commit buffer and execute a diff based on that (you'll have to setup a mapping for SVNCommitDiff to do this).
There is no support for properties, operating on whole directories, or anything super advanced.
As of 1.67.3 there is limited svk (http://svk.elixus.org) support via the SVNCommandAutoSVK. Useful stuff like diff and log work okay, the rest is YMMV for now.