Skip to content

Instantly share code, notes, and snippets.

@jzb
Created December 29, 2008 00:41
Show Gist options
  • Save jzb/41112 to your computer and use it in GitHub Desktop.
Save jzb/41112 to your computer and use it in GitHub Desktop.
Gist and Vim: Two great tastes that go great together
<p>A few weeks ago, I asked for recommendations for using Gist and Vim together. My appeal to Lazyweb went unanswered, but I happened to stumble onto a Gist plugin for Vim today, and so I'm putting out the procedure for anyone who wants to merge these two powerful forces.</p>
<p>So, first things first, grab yourself a copy of the gist.vim plugin over here on <a href="http://github.com/mattn/gist-vim/tree/master">github</a>. You will need a few things:</p>
<ul>
<li>Vim (of course...)</li>
<li>Git</li>
<li>Curl</li>
</ul>
<p>If you're running openSUSE, you should have Vim installed by default. If you don't have Git or Curl, just use zypper to install them:</p>
<p>
<code>zypper in git</code>
<code>zypper in curl</code>
</p>
<p>Next, slap it into your ~/.vim/plugin/ directory, and fire up Vim.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment