aboutsummaryrefslogblamecommitdiff
path: root/plugin/quickfix_auto_open.vim
blob: 73b3f4bc0ac6c24ab1129013a75ee22ad0bba793 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                                            
                       



                                         
                                                                        

        
                                 
 
                                     

                          





                               
           
"
" quickfix_auto_open.vim: Always pop open the quickfix list or location list
" when they're changed.
"
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
if exists('loaded_quickfix_auto_open') || &compatible || v:version < 700
  finish
endif
let loaded_quickfix_auto_open = 1

" Set up hooks in self-clearing group
augroup quickfix_auto_open
  autocmd!
  autocmd VimEnter *
        \ cwindow
  autocmd QuickFixCmdPost [^l]*
        \ cwindow
  autocmd QuickFixCmdPost l*
        \ lwindow
augroup END