Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
MIT License
Bot releases are hidden (Show)
Published by skywind3000 almost 2 years ago
-hidden=0
to init bufhidden
to wipe
for terminal buffers.g:asyncrun_term_hidden
to set the default value of -hidden=?
.Published by skywind3000 almost 2 years ago
Published by skywind3000 almost 2 years ago
<nomodeline>
compatibility.&makeencoding
option;capture example:
:AsyncRun -mode=term -pos=TAB -program=capture ls -la
The output of this terminal command will be captured and listed in the quickfix window
Published by skywind3000 almost 2 years ago
Published by skywind3000 about 2 years ago
<nomodeline>
in :doautocmd, see https://github.com/skywind3000/asyncrun.vim/pull/259.g:asyncrun_show_time
, set to 1
to display the command start time in the first line of quickfix window.Example:
let g:asyncrun_show_time = 1
or set it to a non-empty string to specify time format:
let g:asyncrun_show_time = '%Y/%m/%d %T'
Result:
Published by skywind3000 about 2 years ago
nofile
buftype.Published by skywind3000 about 2 years ago
AsyncReset
command to reset all internal statusPublished by skywind3000 about 2 years ago
Simplify event dispatch routines
Published by skywind3000 over 2 years ago
fix: tab page restoration when focus=0
& reuse=1
Published by skywind3000 over 2 years ago
Published by skywind3000 over 2 years ago
keep compatible with vim-7.4.1829.
Published by skywind3000 over 2 years ago
g:asyncrun_pathfix
to correct relative path mismatching issue in the quickfix window (https://github.com/skywind3000/asyncrun.vim/pull/238).Published by skywind3000 almost 3 years ago
-focus=0
can't return previous tabpage with -pos=TAB
-encoding=?
makes it possible to specify encoding for each command's stdout independently.For example, you have your global g:asyncrun_encs
set to gbk
but you have a command with utf-8
encoding and you don't want to change your global settings:
:AsyncRun -encoding=utf-8 ./my_utf8_command
This will prevent changing g:asyncrun_encs
.
Published by skywind3000 almost 3 years ago
-once
option to buffer all output and flush them at once when job is finished (behave like vim-dispatch)-mode=term -close=1
will exit vim.Published by skywind3000 almost 3 years ago
{'stdin': 'null'}
in nvim-0.6.0-program=?
scripts in autoload/asyncrun/program-scroll=0
to disable quickfix auto-scrollingPublished by skywind3000 almost 3 years ago
-mode=term
& -close=1
Published by skywind3000 almost 3 years ago
AsyncRunInit
autocmd when first calling :AsyncRun command.Published by skywind3000 over 3 years ago
better error handling.
Published by skywind3000 over 3 years ago
fixed: better terminal cwd handling.
Published by skywind3000 over 3 years ago