vim: Nerdtree
This commit is contained in:
parent
fd923b6841
commit
068715e8f0
1 changed files with 0 additions and 3 deletions
3
.vimrc
3
.vimrc
|
@ -212,9 +212,6 @@ nnoremap <Leader>z :set nonumber! norelativenumber!<CR>
|
|||
" entferne trailing whitespaces beim speichern
|
||||
autocmd BufWritePre * :%s/\s\+$//e
|
||||
|
||||
" 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
|
||||
" Exit Vim if NERDTree is the only window remaining in the only tab.
|
||||
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
|
||||
" NERDTree - show hidden files
|
||||
|
|
Loading…
Reference in a new issue