<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lapierre.us/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.lapierre.us/index.php?action=history&amp;feed=atom&amp;title=Vi"/>
	<link rel="alternate" type="text/html" href="https://wiki.lapierre.us/index.php?title=Vi&amp;action=history"/>
	<updated>2026-11-16T12:26:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.lapierre.us/index.php?title=Vi&amp;diff=187&amp;oldid=prev</id>
		<title>Bill: /* substitution */</title>
		<link rel="alternate" type="text/html" href="https://wiki.lapierre.us/index.php?title=Vi&amp;diff=187&amp;oldid=prev"/>
		<updated>2013-12-07T20:42:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;substitution&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:42, 7 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==substitution==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==substitution==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;:%s/[search]/[replace]/[args]&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;:%s/[search]/[replace]/[args]&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* % : range of lines, % = 1,$&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;$ = last&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* % : range of lines, % = 1,$ &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;$ = last&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* s : substitution command&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* s : substitution command&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* args:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* args:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bill</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.lapierre.us/index.php?title=Vi&amp;diff=186&amp;oldid=prev</id>
		<title>Bill: Created page with &quot;==multiple files== vi &#039;&#039;file1 file2 ...&#039;&#039; * :n : move to next file * :N : move to prev file * :buffers : list open files * :buffer n : move to n buffer * :e file : open/edit &#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.lapierre.us/index.php?title=Vi&amp;diff=186&amp;oldid=prev"/>
		<updated>2013-12-07T20:41:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==multiple files== vi &amp;#039;&amp;#039;file1 file2 ...&amp;#039;&amp;#039; * :n : move to next file * :N : move to prev file * :buffers : list open files * :buffer n : move to n buffer * :e file : open/edit &amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==multiple files==&lt;br /&gt;
vi &amp;#039;&amp;#039;file1 file2 ...&amp;#039;&amp;#039;&lt;br /&gt;
* :n : move to next file&lt;br /&gt;
* :N : move to prev file&lt;br /&gt;
* :buffers : list open files&lt;br /&gt;
* :buffer n : move to n buffer&lt;br /&gt;
* :e file : open/edit &amp;#039;&amp;#039;file&amp;#039;&amp;#039;&lt;br /&gt;
* :r file : inserts &amp;#039;&amp;#039;file&amp;#039;&amp;#039; before the cursor into current file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==substitution==&lt;br /&gt;
&amp;lt;pre&amp;gt;:%s/[search]/[replace]/[args]&amp;lt;/pre&amp;gt;&lt;br /&gt;
* % : range of lines, % = 1,$, $ = last&lt;br /&gt;
* s : substitution command&lt;br /&gt;
* args:&lt;br /&gt;
** g : global, ie all occurrences on the line; omition means only 1st occurrence&lt;br /&gt;
** c : confirm&lt;br /&gt;
*** y : yes&lt;br /&gt;
*** n : no&lt;br /&gt;
*** a : yes to this and all subsequent&lt;br /&gt;
*** l : last sub, ie yes to this then quit&lt;br /&gt;
*** q : quit subing&lt;br /&gt;
*** Esc : quit subing&lt;br /&gt;
*** ctrl-e : scroll down for context&lt;br /&gt;
*** ctrl-y : scroll up for context&lt;/div&gt;</summary>
		<author><name>Bill</name></author>
		
	</entry>
</feed>