RobertAudi / nerdtree-git-plugin

A plugin of NERDTree showing git status

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nerdtree-git-plugin

A plugin of NERDTree showing git status flags. Works with the LATEST version of NERDTree.

Preview

Installation

For pathogen.vim:

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

For Vundle:

Plugin 'scrooloose/nerdtree'
Plugin 'RobertAudi/nerdtree-git-plugin'

For NeoBundle:

NeoBundle 'scrooloose/nerdtree'
NeoBundle 'RobertAudi/nerdtree-git-plugin'

For vim-plug:

Plug 'scrooloose/nerdtree'
Plug 'RobertAudi/nerdtree-git-plugin'

FAQ

How to config custom symbols?

Use this variable to change symbols.

let g:NERDTreeGitStatusIndicatorMap = {
      \   'Modified'  : '',
      \   'Staged'    : '',
      \   'Untracked' : '',
      \   'Renamed'   : '',
      \   'Unmerged'  : '',
      \   'Deleted'   : '',
      \   'Dirty'     : '',
      \   'Clean'     : '✔︎',
      \   'Ignored'   : '',
      \   'Unknown'   : '?'
      \ }

How to show ignored status?

let g:NERDTreeGitStatusShowIgnoredStatus = 1

Note: this is a heavy feature and may cost much more time

Credits

About

A plugin of NERDTree showing git status

License:Do What The F*ck You Want To Public License


Languages

Language:Vim Script 100.0%