<?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>Tudor Barbu&#039;s professional blog &#187; efficiency</title>
	<atom:link href="http://blog.motane.lu/tag/efficiency/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.motane.lu</link>
	<description>Ramblings about software development</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:38:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My Vim configuration</title>
		<link>http://blog.motane.lu/2010/01/26/my-vim-configuration/</link>
		<comments>http://blog.motane.lu/2010/01/26/my-vim-configuration/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 21:55:28 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1293</guid>
		<description><![CDATA[Vim is the editor of the Gods. The Elder Gods. It&#8217;s by far the best text editor I&#8217;ve ever encountered. Although I&#8217;m not a &#8220;vim purist&#8221; (no hjkl ), I&#8217;m fascinated with its power. And there are always new things one can learn about it. It never gets old. For instance, today the head of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.motane.lu/wp-content/uploads/2010/01/vim-editor_logo-150x150.png" alt="" title="vim-editor_logo" width="150" height="150" class="alignleft size-thumbnail wp-image-1294" />Vim is the editor of the Gods. The Elder Gods. It&#8217;s by far the best text editor I&#8217;ve ever encountered. Although I&#8217;m not a &#8220;vim purist&#8221; (no hjkl <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), I&#8217;m fascinated with its power. And there are always new things one can learn about it. It never gets old.</p>
<p>For instance, today the head of my company&#8217;s IT department showed me the following cool trick: if you have an XML file loaded in a buffer and you want to have it properly indented, you just hit Escape in your Vim editor and type</p>
<pre class="brush: plain; title: ; notranslate">
:% !xmllint --format %
</pre>
<p>&#8230; and&#8230;Magic!</p>
<p>Anyway, lately I&#8217;ve spent some time puting together a list of very useful plugins for PHP/Zend Framework and python/django development in order to speed things up and become more productive. My (g)Vim configuration currently uses: </p>
<ul>
<li><a href="http://robrobbins.info/?page_id=2" title="Vilight colorscheme">Vilight colorscheme</a> by Rob Robbins</li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=2540" title="snipMate">snipMate</a> by Michael Sanders</li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1658" title="NERD_Tree">NERD_Tree</a> by Martin Grenfell</li>
<li><a href="http://github.com/robhudson/snipmate_for_django" title="django snippets">django snippets</a> by Rob Hudson</li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1879" title="AutoComplPop">AutoComplPop</a> by Takeshi Nishida</li>
</ul>
<p>And a custom gvimrc file. If you want to give it a try, check out my GitHub repository at <a href="http://github.com/motanelu/GVim-configuration" title="Repository with my Gvim configuration">http://github.com/motanelu/GVim-configuration</a>. Installation is very simple, just follow the instructions below (PS: I&#8217;m using GVim. If you&#8217;re using Vim replace <em>gvimrc</em> with <em>vimrc</em>):</p>
<pre class="brush: plain; title: ; notranslate">
cd ~/
mv .vim .vim.bak
mv .gvimrc .gvimrc.bak
git clone git://github.com/motanelu/GVim-configuration.git
mv GVim-configuration .vim
ln -s ~/.vim/gvimrc ~/.gvimrc
</pre>
<p>Post a comment and tell me if you find it useful. If you&#8217;re a Zend Framework user, have a look over the <a href="http://github.com/motanelu/GVim-configuration/blob/master/snippets/zf.snippets" title="Zend Framework snippets">snippets</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2010/01/26/my-vim-configuration/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

