open qfix window automatically

This commit is contained in:
ManjaroOne666 2018-03-28 19:28:48 +01:00
parent a484629caa
commit 247dd65e3e
1 changed files with 6 additions and 0 deletions

View File

@ -43,4 +43,10 @@ augroup myvimrc
autocmd BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
augroup END
" Open qfix after grepping
augroup qfixopen
autocmd!
autocmd QuickFixCmdPost *grep* botright cwindow
augroup END
" vim: foldmethod=marker