diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-23 16:51:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-23 16:51:42 +1200 |
commit | ea99f440c0655d691f7485212219a90156e241d7 (patch) | |
tree | 04fa0c38d1413c291ebfc800bdf2c2ba48b06a8e /vim/vimrc | |
parent | Update TABS.md instructions (diff) | |
download | dotfiles-ea99f440c0655d691f7485212219a90156e241d7.tar.gz dotfiles-ea99f440c0655d691f7485212219a90156e241d7.zip |
Add autocmds to always pop open quickfix/loclist
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -298,5 +298,14 @@ nnoremap <Bslash><Delete> :<C-U>bdelete<CR> " \INS edits a new buffer nnoremap <Bslash><Insert> :<C-U>enew<CR> +" Always pop open quickfix and location lists when changed +if exists('##QuickfixCmdPost') + augroup vimrc_quickfix + autocmd! + autocmd QuickfixCmdPost [^l]* cwindow + autocmd QuickfixCmdPost l* lwindow + augroup END +endif + " Source any .vim files from ~/.vim/config runtime! config/*.vim |