diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-24 17:09:23 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-24 17:09:23 +1200 |
commit | 2c92a488e13aecc4cee757b200a74d099eb0fdd3 (patch) | |
tree | 1c630ad32b734f521e68acf8646f1c4f7927f6bf /vim/plugin | |
parent | Merge branch 'release/v1.40.0' into develop (diff) | |
download | dotfiles-2c92a488e13aecc4cee757b200a74d099eb0fdd3.tar.gz dotfiles-2c92a488e13aecc4cee757b200a74d099eb0fdd3.zip |
Spin quickfix_auto_open.vim out into a plugin
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/quickfix_auto_open.vim | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/vim/plugin/quickfix_auto_open.vim b/vim/plugin/quickfix_auto_open.vim deleted file mode 100644 index e2f111fb..00000000 --- a/vim/plugin/quickfix_auto_open.vim +++ /dev/null @@ -1,22 +0,0 @@ -" -" quickfix_auto_open.vim: Always pop open the quickfix list or location list -" when they're changed. Dispassionately stolen from romainl's minivimrc. -" -" Author: Tom Ryder <tom@sanctum.geek.nz> -" License: Same as Vim itself -" -if exists('g:loaded_quickfix_auto_open') || &compatible - finish -endif -if !exists('##QuickfixCmdPost') || !exists('##VimEnter') - finish -endif -let g:loaded_quickfix_auto_open = 1 - -" Always pop open quickfix and location lists when changed -augroup quickfix_auto_open - autocmd! - autocmd QuickfixCmdPost [^l]* cwindow - autocmd QuickfixCmdPost l* lwindow - autocmd VimEnter * cwindow -augroup END |