<?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>CodePy.Net &#187; cheatsheet</title>
	<atom:link href="http://codepy.net/tag/cheatsheet/feed" rel="self" type="application/rss+xml" />
	<link>http://codepy.net</link>
	<description>专注网络开发：Python,PHP,Vim,Linux 分享我的快乐 -- Share My Happiness</description>
	<lastBuildDate>Sun, 15 Jan 2012 16:20:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>开启bash的vi模式</title>
		<link>http://codepy.net/2009/06/07/bash-vi-editing-mode.html</link>
		<comments>http://codepy.net/2009/06/07/bash-vi-editing-mode.html#comments</comments>
		<pubDate>Sat, 06 Jun 2009 16:05:04 +0000</pubDate>
		<dc:creator>ruitao</dc:creator>
				<category><![CDATA[LINUX生活]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://codepy.net/?p=115</guid>
		<description><![CDATA[bash的默认编辑模式是Emacs。我比较习惯于vim，所以开启了vim编辑模式。开启的方法很简单，编辑 .bashrc 文件。添加： set -o vi 然后在bash下，执行一下 source ～/.bashrc 使得修改生效。 更多的看看这篇文章：http://www.jukie.net/~bart/blog/20040326082602 另外这里有一个Cheat-Sheet1可供查阅参考。 如果无法查看，可以到这里（Box.net）下载 A cheat sheet or crib sheet is a concise set of notes used for quick reference. &#8220;Cheat sheet&#8221; may also be rendered &#8220;cheatsheet&#8221; or &#8220;cheat-sheet.&#8221;]]></description>
			<content:encoded><![CDATA[<p>bash的默认编辑模式是Emacs。我比较习惯于vim，所以开启了vim编辑模式。开启的方法很简单，编辑 .bashrc 文件。添加：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-o</span> <span style="color: #c20cb9; font-weight: bold;">vi</span></pre></div></div>

<p>然后在bash下，执行一下</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> ～<span style="color: #000000; font-weight: bold;">/</span>.bashrc</pre></div></div>

<p>使得修改生效。</p>
<p>更多的看看这篇文章：<a href="http://www.jukie.net/~bart/blog/20040326082602" target="_blank">http://www.jukie.net/~bart/blog/20040326082602</a></p>
<p>另外这里有一个<a href="http://www.scribd.com/doc/985243/Bash-VI-Editing-Mode-readline-Cheat-Sheet" target="_blank">Cheat-Sheet</a><sup><a href="http://codepy.net/2009/06/07/bash-vi-editing-mode.html#footnote_0_115" id="identifier_0_115" class="footnote-link footnote-identifier-link" title="A cheat sheet or crib sheet is a concise set of notes used for quick reference. &amp;#8220;Cheat sheet&amp;#8221; may also be rendered &amp;#8220;cheatsheet&amp;#8221; or &amp;#8220;cheat-sheet.&amp;#8221;">1</a></sup>可供查阅参考。</p>
<p>如果无法查看，可以到<a href="http://www.box.net/shared/b8batd6r8g" target="_blank">这里</a>（Box.net）下载</p>
<ol class="footnotes"><li id="footnote_0_115" class="footnote">A cheat sheet or crib sheet is a concise set of notes used for quick reference. &#8220;Cheat sheet&#8221; may also be rendered &#8220;cheatsheet&#8221; or &#8220;cheat-sheet.&#8221;</li></ol>]]></content:encoded>
			<wfw:commentRss>http://codepy.net/2009/06/07/bash-vi-editing-mode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

