Created
September 27, 2011 15:06
-
-
Save kaneshin/1245300 to your computer and use it in GitHub Desktop.
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
" ***** 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