<?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>Death of a Gremmie &#187; vi</title>
	<atom:link href="http://deathofagremmie.com/tag/vi/feed/" rel="self" type="application/rss+xml" />
	<link>http://deathofagremmie.com</link>
	<description>by Brian Neal</description>
	<lastBuildDate>Wed, 14 Jul 2010 02:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using the Python Shell in Vi Mode</title>
		<link>http://deathofagremmie.com/2009/11/30/using-the-python-shell-in-vi-mode/</link>
		<comments>http://deathofagremmie.com/2009/11/30/using-the-python-shell-in-vi-mode/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 01:18:53 +0000</pubDate>
		<dc:creator>gremmie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[readline]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://deathofagremmie.com/?p=319</guid>
		<description><![CDATA[The Python shell is an invaluable tool for trying things out and experimenting with the language. Wouldn&#8217;t it be great if you could use the Python shell in Vi mode? Much to my surprise, it turns out you can. Python leverages the GNU Readline Library in its shell code. The Readline library is used in [...]]]></description>
			<content:encoded><![CDATA[<p>The Python shell is an invaluable tool for trying things out and experimenting with the language. Wouldn&#8217;t it be great if you could use the Python shell in Vi mode? Much to my surprise, it turns out you can.</p>
<p>Python leverages the <a href="http://tiswww.case.edu/php/chet/readline/rltop.html">GNU Readline Library</a> in its shell code. The Readline library is used in a number of open source projects, notably the <a href="http://www.gnu.org/software/bash/bash.html">BASH shell</a>. The Readline library looks for a configuration file at startup in a number of places. On Unix-like operating systems, the configuration file can be found at <code>~/.inputrc</code> and falls back to <code>/etc/inputrc</code>.</p>
<p>One line is all you need in your <code>~/.inputrc</code> file:</p>
<pre>set editing-mode vi</pre>
<p>Unfortunately I don&#8217;t know how to make this work under Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://deathofagremmie.com/2009/11/30/using-the-python-shell-in-vi-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
