Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

A plugin of NERDTree showing git status

License

Notifications You must be signed in to change notification settings

RobertAudi/nerdtree-git-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%