Skip to content

Instantly share code, notes, and snippets.

@kaneshin
Created September 27, 2011 15:06
Show Gist options
  • Save kaneshin/1245300 to your computer and use it in GitHub Desktop.
Save kaneshin/1245300 to your computer and use it in GitHub Desktop.
" ***** mattn/gist-vim *****
" --- gist setting ---
" let g:github_user = 'kaneshin'
" let g:github_token = '<api token>'
" let g:gist_privates = 1
" --- key map ---
" post to gist
nnoremap ,gs :<C-u>Gist<CR>
" update gist
nnoremap ,ge :<C-u>Gist -e<CR>
" private post
nnoremap ,gp :<C-u>Gist -p<CR>
" my list
nnoremap ,gl :<C-u>Gist -l<CR>
" all list
nnoremap ,gla :<C-u>Gist -la<CR>
" delete gist
nnoremap ,gd :<C-u>Gist -d<CR>
" fork gist
nnoremap ,gf :<C-u>Gist -f<CR>
"---------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment