<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Vi</id>
	<title>Vi - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Vi"/>
	<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Vi&amp;action=history"/>
	<updated>2026-04-13T00:31:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.scott5.org/index.php?title=Vi&amp;diff=455&amp;oldid=prev</id>
		<title>Scott at 18:31, 4 February 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Vi&amp;diff=455&amp;oldid=prev"/>
		<updated>2011-02-04T18:31:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase title}}&lt;br /&gt;
== Intro ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vi &amp;lt;file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
opens &amp;lt;code&amp;gt;&amp;lt;file&amp;gt;&amp;lt;/code&amp;gt; for editing. Type &amp;quot;ZZ&amp;quot; to save and exit.&lt;br /&gt;
&lt;br /&gt;
== command mode vs insert mode ==&lt;br /&gt;
You start out in command mode. Type &amp;quot;i&amp;quot; (insert) or &amp;quot;a&amp;quot; (append) to get to insert mode. Esc to get back to command mode.&lt;br /&gt;
&lt;br /&gt;
== moving the cursor ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h  left&lt;br /&gt;
j  down&lt;br /&gt;
k  up&lt;br /&gt;
l  right&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== modifying text ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x  delete&lt;br /&gt;
i  insert&lt;br /&gt;
a  append&lt;br /&gt;
Y  yank/copy line&lt;br /&gt;
D  cut line&lt;br /&gt;
P  paste line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== deleting text ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x  deletes the character under the cursor.&lt;br /&gt;
X  deletes the character to the left of your cursor.&lt;br /&gt;
dw deletes from the character selected to the end of the word.&lt;br /&gt;
dd deletes all the current line.&lt;br /&gt;
D  deletes from the current character to the end of the line.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scott</name></author>
	</entry>
</feed>