aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-24 17:09:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-24 17:09:23 +1200
commit2c92a488e13aecc4cee757b200a74d099eb0fdd3 (patch)
tree1c630ad32b734f521e68acf8646f1c4f7927f6bf /vim
parentMerge branch 'release/v1.40.0' into develop (diff)
downloaddotfiles-2c92a488e13aecc4cee757b200a74d099eb0fdd3.tar.gz
dotfiles-2c92a488e13aecc4cee757b200a74d099eb0fdd3.zip
Spin quickfix_auto_open.vim out into a plugin
Diffstat (limited to 'vim')
m---------vim/bundle/quickfix_auto_open0
-rw-r--r--vim/plugin/quickfix_auto_open.vim22
2 files changed, 0 insertions, 22 deletions
diff --git a/vim/bundle/quickfix_auto_open b/vim/bundle/quickfix_auto_open
new file mode 160000
+Subproject a2eccef1861e2c0be988bc182d7b14be94ebc9e
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