1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add async support for external command

Use asyncrun.vim for now. May switch to Dispatch later.
This commit is contained in:
jdhao 2019-12-06 20:28:36 +08:00 committed by GitHub
parent 31f88c82cf
commit 01e69daf9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
"}}
"}