Set the 'quickfix' window apears at the bottom

It is about #7. If the screen is separated to several windows,
this will help to make the quickfix windows appear at the bottom
of the screen.
This commit is contained in:
gerryqd 2018-01-10 11:14:53 +08:00
parent e803767d12
commit db08043d43

View file

@ -35,7 +35,7 @@ endfun
fun! s:RgSearch(txt)
silent! exe 'grep! ' . a:txt
if len(getqflist())
copen
botright copen
redraw!
if exists('g:rg_highlight')
call s:RgHighlight(a:txt)