sponsor Vim development Vim logo Vim Book Ad

jobs.vim : Run system commands in background.

 script karma  Rating 0/0, Downloaded by 152  Comments, bugs, improvements  Vim wiki

created by
Javier Puigdevall
script type
Tool to be used on other plugins to launch system commands in background.

Includes several commands to check the commands in progress (Jobsl).

Stop all commands in background (Jobska)

Choose wich commands in background to stop (Jobsk)

Showw all commands in background related to current vim window (Jobshw)

Showw all commands history (Jobshy)

Use :Jobsh to show command help.

   function! svnTools#Blame()
      let file = expand("%")
      let name = expand("%:t")
      let pos = line('.')
      let ext = s:GetSyntax()

      let command  = "svn blame -v ".l:file
      let callback = "svnTools#SvnBlameEnd(\"".l:pos."\",\"".l:ext."\",\"".l:name."\","
      let l:async = 1

      call jobs#RunCmd(a:command, a:callback, l:async, "svn")

   function! svnTools#SvnBlameEnd(pos,ext,name,resfile)
      if exists('a:resfile') && !empty(glob(a:resfile))
         " Process the svn blame file
         echo "ERROR. Svn blame empty"

install details
Minimum version: Vim 8.0+

Simplest method:
- Just unzip to your .vim folder.

Plugin manager:
- Either vim-pathogen or Vundle are recommended.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
jobs.tar.gz 0.0..1 2020-06-22 8.0 Javier Puigdevall Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.