nerdtree-svn-plugin


Ⅰ. 插件描述

A plugin of NERDTree showing svn status

Ⅱ. 基本信息

创建日期:  2018-02-21
使用用户:  3
Github星:  1
插件作者:  Gregory Jaromack

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'greggerz/nerdtree-svn-plugin'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'greggerz/nerdtree-svn-plugin'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'greggerz/nerdtree-svn-plugin'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/greggerz/nerdtree-svn-plugin

Ⅳ. 文档说明

nerdtree-svn-plugin

A plugin of NERDTree showing svn status flags.

Installation

For Pathogen

git clone https://github.com/greggerz/nerdtree-svn-plugin.git ~/.vim/bundle/nerdtree-svn-plugin

Reload vim

For Vundle

Plugin 'scrooloose/nerdtree'

Plugin 'greggerz/nerdtree-svn-plugin'

For NeoBundle

NeoBundle 'scrooloose/nerdtree'

NeoBundle 'greggerz/nerdtree-svn-plugin'

For Plug

Plug 'scrooloose/nerdtree'

Plug 'greggerz/nerdtree-svn-plugin'

Limitations

  • Currently the plugin only works with the first column of the status output

FAQ

  • How do I customize the symbols?

    let g:NERDTreeSvnIndicatorMapCustom = {
        \ 'Modified'  : '✹',
        \ 'Addition'  : '✚',
        \ 'Untracked' : '✭',
        \ 'Replaced'  : '➜',
        \ 'Deleted'   : '✖',
        \ 'Dirty'     : '✗',
        \ 'Clean'     : '✔︎',
        \ 'Ignored'   : '☒',
        \ 'Missing'   : '⁈',
        \ 'Conflict'  : '⇏',
        \ 'Externals' : '↰',
        \ 'Unknown'   : '?'
        \ }
  • How do I get the Ignored status to show?

    let g:NERDTreeShowIgnoredStatus = 1

Credits

  • scrooloose: Creating NERDTree
  • Xuyuanp: Creating nerdtree-git-plugin
  • All contributors to NERDTree and nerdtree-git-plugin

添加新评论