" Set cwd to NERDTree root
let g:NERDTreeChDirMode = 2
" Keep current line centered
let g:NERDTreeAutoCenterThreshold = 1000
" Remove disturbing elements
let g:NERDTreeMinimalUI = 1
" Hide ignored files
let g:NERDTreeRespectWildIgnore = 1

" Don't draw fancy arrows (5.0.0)
let g:NERDTreeDirArrows = 0
" Don't draw fancy arrows (6.x)
let g:NERDTreeDirArrowCollapsible = "~"
let g:NERDTreeDirArrowExpandable = "+"
