Ⅰ. 插件描述
display svn blame (history) for selected line: commit number, message and diffⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/svn-line-history-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/svn-line-history-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/svn-line-history-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/svn_line_history.vim
Ⅳ. 文档说明
This plugin defines single command SvnLineHistory. When called this command will show some usefull data in a new buffer:
1. last commit number N in which the line under the cursor was changed.
2. last commit author and log message.
3. last commit diff
The current buffer file should be under Svn version control, and you need to have access to the repository. The command execution might take some time, because we need to send blame, log and diff requests to the repository server. The plugin will work even if the file has local changes which do not affect the current line.