Created
July 19, 2011 06:48
-
-
Save pocket7878/1091515 to your computer and use it in GitHub Desktop.
little change for outputz.vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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