Quickly save code snippets to gist using vim
Easy way to save code snippets and cheatsheets to gist using vim
Usage
List your public gists.
:Gist -l
Store current buffer in gist
:Gist -P
Installation
Install with Vundle
Add the following lines to your .vimrc.
Bundle 'mattn/webapi-vim'
Bundle 'mattn/gist-vim'
Setup:
First, you need to set your GitHub username in git's global configuration:
$ git config --global github.user <username>
Store your github token in ~/.gist-vim.
Reference
Written by kiran ps
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#