Skip to content

Instantly share code, notes, and snippets.

@pocket7878
Created July 19, 2011 06:48
Show Gist options
  • Save pocket7878/1091515 to your computer and use it in GitHub Desktop.
Save pocket7878/1091515 to your computer and use it in GitHub Desktop.
little change for outputz.vim
let l:cmd = printf('curl --form-string key=%s --form-string uri=%s --form-string "size=%d" http://outputz.com/api/post',
\ fnameescape(g:outputz_secret_key),
\ fnameescape({g:outputz_uri_function}()),
\ a:n)
if s:V.has_vimproc()
call vimproc#system_bg(cmd)
else
call system(cmd)
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment