From 01e69daf9e56155d6f4e2338bb01dcb15c49678e Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 6 Dec 2019 20:28:36 +0800 Subject: [PATCH] Add async support for external command Use asyncrun.vim for now. May switch to Dispatch later. --- plugins.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins.vim b/plugins.vim index aa0e26f..6034784 100644 --- a/plugins.vim +++ b/plugins.vim @@ -293,6 +293,11 @@ Plug 'andymass/vim-matchup' Plug 'yuttie/comfortable-motion.vim' Plug 'tpope/vim-scriptease' + +" Asynchronous command execution +Plug 'skywind3000/asyncrun.vim' +" Another asynchronous plugin +" Plug 'tpope/vim-dispatch' call plug#end() "}} "} @@ -823,5 +828,9 @@ nnoremap :call comfortable_motion#flick(winheight(0) * -4) " Mouse settings noremap :call comfortable_motion#flick(40) noremap :call comfortable_motion#flick(-40) + +"""""""""""""""""""""""""" asyncrun.vim settings """""""""""""""""""""""""" +" Automatically open quickfix window of 6 line tall after asyncrun starts +let g:asyncrun_open = 6 "}} "}