Added Vim NERDTree + NERDTree Git plugin

This commit is contained in:
Alex Janka 2015-10-10 17:12:38 +11:00
parent 5cc28a369e
commit b5a2668a97
3 changed files with 23 additions and 0 deletions

@ -0,0 +1 @@
Subproject commit 0b44415a3302030b56755cc1135ca9ca57dc1ada

@ -0,0 +1 @@
Subproject commit 932552ee295971cfb202c3b360319cb56e4ba6f0

View file

@ -20,6 +20,8 @@ call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'bling/vim-airline'
Plugin 'whatyouhide/vim-gotham'
Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
@ -42,3 +44,22 @@ let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
set hidden
let g:NERDTreeIndicatorMapCustom = {
\ "Modified" : "✹",
\ "Staged" : "✚",
\ "Untracked" : "✭",
\ "Renamed" : "➜",
\ "Unmerged" : "═",
\ "Deleted" : "✖",
\ "Dirty" : "✗",
\ "Clean" : "✔︎",
\ "Unknown" : "?"
\ }
autocmd vimenter * NERDTree
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
map <C-n> :NERDTreeToggle<CR>
let NERDTreeShowHidden=1