changes for nerdtree
This commit is contained in:
parent
2c3ee9a2e0
commit
2bc2a4b64f
1 changed files with 9 additions and 0 deletions
9
vimrc
9
vimrc
|
@ -468,9 +468,18 @@ let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree
|
|||
" write .netrwhist to cache-dir instead of ~/.vim to prevent configcheckout
|
||||
" problems
|
||||
let g:netrw_home=$XDG_CACHE_HOME.'/vim'
|
||||
|
||||
"let g:nerdtree_tabs_open_on_console_startup=1
|
||||
let g:nerdtree_tabs_open_on_console_startup=0
|
||||
|
||||
" Start NERDTree. If a file is specified, move the cursor to its window.
|
||||
"autocmd StdinReadPre * let s:std_in=1
|
||||
"autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif
|
||||
|
||||
" Start NERDTree when Vim is started without file arguments.
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
|
||||
|
||||
let g:NERDTreeGitStatusIndicatorMapCustom= {
|
||||
\ "Modified" : "✹",
|
||||
\ "Staged" : "✚",
|
||||
|
|
Loading…
Reference in a new issue