Skip to content

Instantly share code, notes, and snippets.

@tammersaleh
Created December 13, 2008 22:40
Show Gist options
  • Save tammersaleh/35568 to your computer and use it in GitHub Desktop.
Save tammersaleh/35568 to your computer and use it in GitHub Desktop.
system('open '.res)
endfunction
function! Gist(line1, line2, ...)
if !exists('g:github_user')
let g:github_user = substitute(system('git config --global github.user'), "\n", '', '')
endif
if !exists('g:github_token')
let g:github_token = substitute(system('git config --global github.token'), "\n", '', '')
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment