|
@@ -63,9 +63,13 @@ if has("autocmd")
|
|
|
|
|
|
|
|
" Source the vimrc file after saving it
|
|
" Source the vimrc file after saving it
|
|
|
autocmd bufwritepost .vimrc source $MYVIMRC
|
|
autocmd bufwritepost .vimrc source $MYVIMRC
|
|
|
- autocmd bufwritepost .vimrc call Pl#Load()
|
|
|
|
|
|
|
+
|
|
|
" Reload Powerline colours after source
|
|
" Reload Powerline colours after source
|
|
|
" https://github.com/Lokaltog/vim-powerline/issues/28
|
|
" https://github.com/Lokaltog/vim-powerline/issues/28
|
|
|
|
|
+ autocmd bufwritepost .vimrc call Pl#Load()
|
|
|
|
|
+
|
|
|
|
|
+ " Open quickfix window after any grep invocation (Glog and Ggrep)
|
|
|
|
|
+ autocmd QuickFixCmdPost *grep* cwindow
|
|
|
|
|
|
|
|
" if the last window is NERDTree, then close Vim
|
|
" if the last window is NERDTree, then close Vim
|
|
|
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
|
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|