gist-vim
If you're a Vim user and a GitHub/Gist user, you definitely need to get the following plugin: gist-vim.
This plugin provides an easy way to create gists with Vim. To post your current file as a gist, you simply need to type:
:Gist
For a private gist:
:Gist -p
To create an anomymous gist:
:Gist -a
The plugin supports both basic and two-factor authentication using GitHub API v3. Credentials are stored in ~/.gist-vim
, and you can also check your token in your GitHub account settings ("Applications" tab).
You can get the code on GitHub: https://github.com/mattn/gist-vim
If you're using Vundle:
Bundle 'mattn/gist-vim'
Written by Benjamin Chrétien
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#