asyncrun.vim

Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!

MIT License

Downloads
138
Stars
1.9K
Committers
22

Bot releases are hidden (Show)

asyncrun.vim - 20221113 - v2.11.2

Published by skywind3000 almost 2 years ago

  • terminal buffers: accept -hidden=0 to init bufhidden to wipe for terminal buffers.
  • terminal buffers: new option g:asyncrun_term_hidden to set the default value of -hidden=?.
asyncrun.vim - 20221103 - v2.10.9

Published by skywind3000 almost 2 years ago

asyncrun.vim - 20221102 - v2.10.8

Published by skywind3000 almost 2 years ago

  • improve <nomodeline> compatibility.
  • take care of the &makeencoding option;
  • new program translator capture to capture terminal output to the quickfix window

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

asyncrun.vim - 20221030 - v2.10.6

Published by skywind3000 almost 2 years ago

asyncrun.vim - 20221012 - v2.10.5

Published by skywind3000 about 2 years ago

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:

图片

asyncrun.vim - 20221006 - v2.10.0

Published by skywind3000 about 2 years ago

  • Better project root detection for buffers with nofile buftype.
asyncrun.vim - 20220923 - v2.9.15

Published by skywind3000 about 2 years ago

  • new: AsyncReset command to reset all internal status
asyncrun.vim - 20220615 - v2.9.13

Published by skywind3000 about 2 years ago

Simplify event dispatch routines

asyncrun.vim - 20220615 - v2.9.12

Published by skywind3000 over 2 years ago

fix: tab page restoration when focus=0 & reuse=1

asyncrun.vim - 20220308 - v2.9.11

Published by skywind3000 over 2 years ago

asyncrun.vim - 20220220 - v2.9.10

Published by skywind3000 over 2 years ago

keep compatible with vim-7.4.1829.

asyncrun.vim - 20220203 - v2.9.9

Published by skywind3000 over 2 years ago

asyncrun.vim - 20211224 - v2.9.7

Published by skywind3000 almost 3 years ago

  • fixed: -focus=0 can't return previous tabpage with -pos=TAB
  • new option -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.

asyncrun.vim - 20211220 - v2.9.5

Published by skywind3000 almost 3 years ago

  • new: -once option to buffer all output and flush them at once when job is finished (behave like vim-dispatch)
  • fix: when the terminal is the last window -mode=term -close=1 will exit vim.
asyncrun.vim - 20211218 - v2.9.3

Published by skywind3000 almost 3 years ago

  • handle new job option {'stdin': 'null'} in nvim-0.6.0
  • externalize -program=? scripts in autoload/asyncrun/program
  • new option -scroll=0 to disable quickfix auto-scrolling
asyncrun.vim - 20211216 - v2.9.1

Published by skywind3000 almost 3 years ago

  • unified terminal closing behavior in both vim & neovim when -mode=term & -close=1
asyncrun.vim - 20211215 - v2.8.9

Published by skywind3000 almost 3 years ago

  • fire AsyncRunInit autocmd when first calling :AsyncRun command.
  • new event dispatch mechanism.
  • better runner handling.
asyncrun.vim - 20210329 - v2.8.6

Published by skywind3000 over 3 years ago

better error handling.

asyncrun.vim - 20210328 - v2.8.5

Published by skywind3000 over 3 years ago

fixed: better terminal cwd handling.

asyncrun.vim - 20210214 - v2.8.4

Published by skywind3000 over 3 years ago

  • better path handling.