<?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>Ryan Collins &#187; linux</title>
	<atom:link href="http://ryancollins.org/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ryancollins.org</link>
	<description>Educational Technology</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:46:38 +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>Skills You Should Know (SYSK) &#8211; vi</title>
		<link>http://ryancollins.org/2008/04/06/skills-you-should-know-sysk-vi/</link>
		<comments>http://ryancollins.org/2008/04/06/skills-you-should-know-sysk-vi/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:57:02 +0000</pubDate>
		<dc:creator>mr.rcollins</dc:creator>
				<category><![CDATA[RC Tips]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SYSK]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://ryancollins.org/wp/2008/04/06/skills-you-should-know-sysk-vi/</guid>
		<description><![CDATA[    I&#8217;m starting a new category, that goes along with my blog post Yes I will lead. The new category is called Skills You Should Know &#8211; SYSK. Little bits of information ...]]></description>
			<content:encoded><![CDATA[<p>    I&#8217;m starting a new category, that goes along with my blog post <span style="font-style: italic">Yes I will lead</span>. The new category is called Skills You Should Know &#8211; SYSK. Little bits of information that through my experience aren&#8217;t something that you may not necessarily use every day, but may someday save you a ton of trouble.</p>
<p>Today&#8217;s topic is <span style="font-weight: bold">vi</span>. <span style="font-weight: bold">Vi</span> may be the only editor installed on a new unix based system, and a few commands will get you to the point where at least you can edit a few files before installing something a little more user friendly such as pico (or nano).</p>
<p>Vi has two modes, command and insertion. It was designed this way because sometimes the keyboard you would be using might not necessarily have all the keys we take for granted today, especially when it comes to the arrow keys. In command mode you can move the cursor around with the arrow keys or hjkl keys. To do an editing, you&#8217;ll need to switch to insertion mode. Vi defaults to command mode when it is started.</p>
<p><span style="font-weight: bold">i</span> &#8211; Switches to insertion mode<br />
<span style="font-weight: bold">&lt;ESC&gt;</span> &#8211; Switches to command mode</p>
<p>In a nutshell, you&#8217;ll start the editor with a file:</p>
<p><code>vi somefile</code></p>
<p>Once the file is open, you&#8217;ll press <span style="font-weight: bold">i</span> to switch to insertion mode. Make the changes to your file. Press <span style="font-weight: bold">&lt;ESC&gt;</span> to switch back to command mode. To exit you&#8217;ll press the following (these all start with the colon):</p>
<p><span style="font-weight: bold">:wq</span> &#8211; Write the file and then quit<br />
<span style="font-weight: bold">:q!</span> &#8211; Quit the file without saving the changes. A great way if you mess up and just want to not save your changes</p>
<p>These preceding commands should at least get you started. For more info, you may want to visit the following pages:<br />
<a href="http://en.wikipedia.org/wiki/Vi">vi &#8211; Wikipedia, the free encyclopedia</a><br />
<a href="http://www.lagmonster.org/docs/vi.html">Vi Cheat Sheet</a><br />
<a href="http://www.eng.hawaii.edu/Tutor/vi.html">Mastering the VI editor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ryancollins.org/2008/04/06/skills-you-should-know-sysk-vi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

