VIM: Reinstall NERDTree

Nerdtree is a rather slow, but extremely useful plugin. So I made the
decission to reinstall it, but don't launch it on startup but with a
keybinding.

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
This commit is contained in:
2018-09-01 11:00:23 +02:00
parent b705be0c1e
commit 24830b03ec
15 changed files with 3211 additions and 0 deletions

View File

@ -41,6 +41,19 @@ let g:NERDCommentEmptyLines = 1
let g:NERDTrimTrailingWhitespace = 1
" NerdTree
let NERDTreeMinimalUI = 1
let g:NERDTreeDirArrowExpandable = '🗀'
let g:NERDTreeDirArrowCollapsible = '🗁'
let g:NERDTreeHighlightFolders = 1
let g:NERDTreeHighlightFoldersFullName = 1
" autoclose if nerdtree is last open window
augroup NERDTree
autocmd!
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
augroup end
" PyMode
let g:pymode_lint = 0
let g:pymode_syntax = 1