Ⅰ. 插件描述
Perforce source control featuresⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/perforce-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/perforce-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/perforce-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/perforce.vim
Ⅳ. 文档说明
Perforce is a source control system from http://www.perforce.com
Features:
- menu and keyboard shortcuts to open (checkout), revert, and sync files.
- prompts to open a file for editing when you attempt to change a checked-in file.
- perforce status displayed on the ruler.
- tested on Windows operating systems only.
This plugin provides a relatively few commonly used commands. If you are looking for the ability to carry out many perforce commands from within vim, you may wish to look at Hari Krishna Dara's plugin (script 240) at http://vim.sourceforge.net/scripts/script.php?script_id=240.