aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-12-06 20:28:36 +0800
committerGitHub <noreply@github.com>2019-12-06 20:28:36 +0800
commit01e69daf9e56155d6f4e2338bb01dcb15c49678e (patch)
tree8857b15d60022f47f7fdd2457b83623997536f75
parent31f88c82cff586a722e43104f6950751264d98b5 (diff)
Add async support for external command
Use asyncrun.vim for now. May switch to Dispatch later.
-rw-r--r--plugins.vim9
1 files changed, 9 insertions, 0 deletions
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 <silent> <C-b> :call comfortable_motion#flick(winheight(0) * -4)<CR>
" Mouse settings
noremap <silent> <ScrollWheelDown> :call comfortable_motion#flick(40)<CR>
noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR>
+
+"""""""""""""""""""""""""" asyncrun.vim settings """"""""""""""""""""""""""
+" Automatically open quickfix window of 6 line tall after asyncrun starts
+let g:asyncrun_open = 6
"}}
"}