diff options
Diffstat (limited to '_vim/vimrc')
-rw-r--r-- | _vim/vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -321,6 +321,13 @@ nnoremap <leader>gb :Gblame<cr> autocmd BufReadPost fugitive://* setlocal bufhidden=delete +" Mappings for NERDTree +nnoremap <leader>n :NERDTreeFocus<cr> +nnoremap <C-t> :NERDTreeToggle<cr> +" 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 + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Helper functions |