Ⅰ. 插件描述
Perforce Menu Items in NERDTreeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'leandros/nerdtree-p4'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'leandros/nerdtree-p4'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'leandros/nerdtree-p4'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/leandros/nerdtree-p4
Ⅳ. 文档说明
# NERDTree Perforce
Access Perforce commands through the NERDTree menu.
Requirements
- Vim, able to execute shell commands
- p4 command-line client, configured with your perforce server
Installation
You can install the plugin via your favorite plugin manager.
The following is just an example of using Vundle.
Plugin 'leandros/nerdtree-p4'
Usage
The Perforce commands add
, delete
, edit
and revert
are available through
the menu in NERDTree (default shortcut: m
).
Basic usage:
- Open NERDTree
- Select a file node
- Press menu shortcut
- Select desired action
License
The MIT License (MIT)
Copyright (c) 2016 Arvid Gerstmann