Skip to content

Instantly share code, notes, and snippets.

@junegunn
Created January 27, 2017 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junegunn/2217d66d5b4f84bd639d83f24f64cb92 to your computer and use it in GitHub Desktop.
Save junegunn/2217d66d5b4f84bd639d83f24f64cb92 to your computer and use it in GitHub Desktop.
function! JobCallback(self, data) abort
echom string([a:self, a:data])
endfunction
let command = printf('git clone "https://github.com/junegunn/seoul256.vim.git" "%s\vimfiles\plugged yolo\seoul256.vim" 2>&1', $HOME)
let j = job_start(command, {'out_cb': 'JobCallback', 'exit_cb': 'JobCallback'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment