Skip to content

Instantly share code, notes, and snippets.

@junegunn
Created January 27, 2017 09:29
Show Gist options
  • 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