Last active
November 11, 2020 20:49
-
-
Save igrep/d0f400e35e80ad4cdb01 to your computer and use it in GitHub Desktop.
vim-watchdogsでエラーをquickfix listに出した後、カーソルをquickfix listのウィンドウに移動させない ref: http://qiita.com/igrep/items/e5d288f42d9abb23e4c1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! GoToPreviousWindowWhenQf() abort | |
if &filetype == 'qf' | |
wincmd p | |
endif | |
endfunction | |
let g:quickrun_config = { | |
\ "_": { | |
\ "outputter/quickfix/open_cmd" : "cwindow | call GoToPreviousWindowWhenQf()" | |
\ }, | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment