<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>srsly &#187; text editors</title>
	<atom:link href="http://srsly.me/tag/text-editors/feed/" rel="self" type="application/rss+xml" />
	<link>http://srsly.me</link>
	<description></description>
	<lastBuildDate>Thu, 27 May 2010 02:37:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My MacVim Setup</title>
		<link>http://srsly.me/2009/03/08/my-macvim-setup/</link>
		<comments>http://srsly.me/2009/03/08/my-macvim-setup/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 02:57:19 +0000</pubDate>
		<dc:creator>Joseph Jaramillo</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[text editors]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://srsly.me/?p=111</guid>
		<description><![CDATA[I&#8217;ve long had an interest in Vim, but learning a new text editor is a major endeavor for any developer.  We spend the overwhelming majority of time working in text editors, and like anything else choosing the right tool is important.  After a certain amount of time the tool fades into the background, and using [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve long had an interest in <a title="Vim" href="http://www.vim.org/" target="_blank">Vim</a>, but learning a new text editor is a major endeavor for any developer.  We spend the overwhelming majority of time working in text editors, and like anything else choosing the right tool is important.  After a certain amount of time the tool fades into the background, and using it becomes completely second nature.  I moved away from the <a title="Eclipse" href="http://www.eclipse.org/" target="_blank">Eclipse</a> IDE to <a title="TextMate" href="http://macromates.com/" target="_blank">TextMate</a> when I got into Ruby, and it has seen me through many a project.  With the right bundles installed TextMate is a fantastic tool.</p>
<p>So why use Vim, or more specifically, <a title="MacVim" href="http://code.google.com/p/macvim/" target="_blank">MacVim</a>?  At this point, I still can&#8217;t say.  It&#8217;ll take some time after I&#8217;m used to its paradigm and have built up enough muscle memory for me to be able to say whether or not it&#8217;s better for me.  That being said, I knew that there were a few tools I&#8217;d absolutely need it to have for it to have a chance at competing with TextMate.  Thankfully, Vim has a robust plugin system and a huge user-generated library from which to choose.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-125" title="My MacVim Setup" src="http://srsly.me/wp-content/uploads/2009/03/vim-screenshot.png" alt="My MacVim Setup" width="450" height="314" /></p>
<p>I spent some time using TextMate, taking note of which of its facilities I used most often.  What emerged was something of a blueprint for what I&#8217;d need Vim to either replicate or replace.  The following plugins did the trick:</p>
<ol>
<li><a title="NERDTree" href="http://www.vim.org/scripts/script.php?script_id=1658" target="_blank">NERDTree</a> &#8211; A Project Drawer-like file browser<a href="http://www.vim.org/scripts/script.php?script_id=1658" target="_blank"><br />
</a></li>
<li><a title="FuzzyFinder" href="http://www.vim.org/scripts/script.php?script_id=1984" target="_blank">FuzzyFinder</a> &#8211; A fuzzy-search based file navigation mechanism<a href="http://www.vim.org/scripts/script.php?script_id=1984" target="_blank"><br />
</a></li>
<li><a title="FuzzyFinder TextMate" href="http://github.com/jamis/fuzzyfinder_textmate/tree/master" target="_blank">FuzzyFinder TextMate</a> (<a title="Origin FuzzyFinder TextMate Blog Post" href="http://weblog.jamisbuck.org/2008/10/10/coming-home-to-vim" target="_blank">Blog</a>) &#8211; Provides ⌘-T functionality via FuzzyFinder</li>
<li><a title="Rails plugin for Vim" href="http://www.vim.org/scripts/script.php?script_id=1567" target="_blank">Rails.vim</a> &#8211; The Vim equivalent of the Ruby on Rails TextMate bundle<a href="http://www.vim.org/scripts/script.php?script_id=1567" target="_blank"><br />
</a></li>
<li><a title="snippetsEmu" href="http://www.vim.org/scripts/script.php?script_id=1318" target="_blank">snippetsEmu</a> &#8211; Provides tab triggers and other nifty TextMate-like snippet functionality<a href="http://www.vim.org/scripts/script.php?script_id=1318" target="_blank"><br />
</a></li>
</ol>
<p>There&#8217;s clearly a pattern here.  At one point I stopped and asked myself why exactly I was trying to reimplement TextMate in Vim.  The reality is that these tools have a very strong connection with the way I work, and most of them aren&#8217;t particularly unique to TextMate.  The fuzzy-file-search mechanism is something that appears all over the place.  We use it all the time in tools like <a title="LaunchBar" href="http://obdev.at/launchbar" target="_blank">LaunchBar</a> and <a title="QuickSilver" href="http://code.google.com/p/blacktree-alchemy/" target="_blank">QuickSilver</a>.  Rails.vim brings Rails awareness to Vim; all good text editors support extensions like this.  The only thing up there that&#8217;s unique to TextMate is the tab-trigger snippets.  I&#8217;ve got no excuse for that one.  It&#8217;s a really great feature in TextMate, and I think all text editors should have it.</p>
<p>I had some difficulty getting FuzzyFinder TextMate working until I discovered that Jamis had stopped working on it.  It had fallen out of sync with FuzzyFinder, on which it depends.  Tracking down the latest version of FuzzyFinder that was known to work solved the problem.  It looks like there&#8217;s a <a title="sethbc's fuzzyfinder_textmate at master" href="http://github.com/sethbc/fuzzyfinder_textmate/tree/master" target="_blank">fork</a> on GitHub that&#8217;s been brought up to date, but I haven&#8217;t yet tested it.</p>
<p>My <a title="devjj's vim-config at master" href="http://github.com/devjj/vim-config/tree/master" target="_blank">configuration</a> is on GitHub.  If you find any mistakes or have any suggestions for improvement, please feel free to fork it and send a pull request.  I&#8217;m still a Vim noob, but I&#8217;m impressed so far.<a href="http://blog.infinitered.com/entries/show/8" target="_blank"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://srsly.me/2009/03/08/my-macvim-setup/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
