<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">Original Joe</title>
<generator uri="https://github.com/jekyll/jekyll">Jekyll</generator>
<link rel="self" type="application/atom+xml" href="/feed.xml" />
<link rel="alternate" type="text/html" href="" />
<updated>2015-11-02T16:40:11+00:00</updated>
<id>/</id>
<author>
  <name>Joe Balancio</name>
  <uri>/</uri>
  <email>jlbalancio@gmail.com</email>
</author>


  

<entry>
  <title type="html"><![CDATA[OSX VIM with Python support]]></title>
  <link rel="alternate" type="text/html" href="/vim/2015/10/17/osx-vim-python.html" />
  <id>/vim/2015/10/17/osx-vim-python</id>
  <published>2015-10-17T08:48:17+00:00</published>
  <updated>2015-10-17T08:48:17+00:00</updated>
  <author>
    <name>Joe Balancio</name>
    <uri></uri>
    <email>jlbalancio@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;Several months ago I spent way too long trying to figure out how to upgrade my Vim install from the default system 7.3 install to 7.4 in order to use new plugins. Hours later I gave up.&lt;/p&gt;

&lt;p&gt;It should have been as easy as this:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;sudo port install vim&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;When I fired it up, I get this message about python not being installed. Well OSX comes with a default python install. Well &lt;code&gt;sudo port select python python27&lt;/code&gt;. Nope.&lt;/p&gt;

&lt;p&gt;Fast-forward to a few weeks ago when our team start developing outside the VM. I install MacVim with python support. It works, but it’s super slow.&lt;/p&gt;

&lt;p&gt;I wanted my old workflow back with &lt;code&gt;tmux&lt;/code&gt;. And in order to get that back, I need to get a usable latest &lt;code&gt;vim&lt;/code&gt; install. I finally made some headway.&lt;/p&gt;

&lt;h1 id=&quot;first-fetch-the-vim-repo&quot;&gt;First, fetch the &lt;code&gt;vim&lt;/code&gt; repo.&lt;/h1&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;git clone https://github.com/vim/vim.git
&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;src
make distclean  &lt;span class=&quot;c&quot;&gt;# if you build Vim before&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;next-configure-it&quot;&gt;Next configure it.&lt;/h1&gt;

&lt;p&gt;I’m configuring to remove gui support. Not important. I’m adding the &lt;code&gt;huge&lt;/code&gt; feature set because why not. Don’t need NetBeans support. &lt;strong&gt;Enabling Python support&lt;/strong&gt;. Finally, since I’m using Macports, I point to the Macports directory.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;./configure --disable-darwin --enable-gui&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;no --with-features&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;huge &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
--disable-netbeans --enable-pythoninterp &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
--prefix&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/opt/local --with-local-dir&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/opt/local --disable-netbeans&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;now-make-and-install&quot;&gt;Now, make and install&lt;/h1&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;make
sudo make install&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;woo&quot;&gt;Woo!&lt;/h1&gt;
&lt;p&gt;Next step is to get tmux working. I’m thinking of splitting my tmux config to work across OSX and Linux.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;/vim/2015/10/17/osx-vim-python.html&quot;&gt;OSX VIM with Python support&lt;/a&gt; was originally published by Joe Balancio at &lt;a href=&quot;&quot;&gt;Original Joe&lt;/a&gt; on October 17, 2015.&lt;/p&gt;
  </content>
</entry>

</feed>