<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://thelinuxsource.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://thelinuxsource.org/index.php?action=history&amp;feed=atom&amp;title=VI_Quick_Reference</id>
		<title>VI Quick Reference - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://thelinuxsource.org/index.php?action=history&amp;feed=atom&amp;title=VI_Quick_Reference"/>
		<link rel="alternate" type="text/html" href="http://thelinuxsource.org/index.php?title=VI_Quick_Reference&amp;action=history"/>
		<updated>2026-04-16T03:25:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.15</generator>

	<entry>
		<id>http://thelinuxsource.org/index.php?title=VI_Quick_Reference&amp;diff=58&amp;oldid=prev</id>
		<title>Support: Created page with &quot;===  search and replace === global  :%s/search/replace/  global, multiple occurrences on each line  :%s/search/replace/g  remove end of line spaces  :%s/ +$//  ===  global com...&quot;</title>
		<link rel="alternate" type="text/html" href="http://thelinuxsource.org/index.php?title=VI_Quick_Reference&amp;diff=58&amp;oldid=prev"/>
				<updated>2017-05-09T02:32:18Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===  search and replace === global  :%s/search/replace/  global, multiple occurrences on each line  :%s/search/replace/g  remove end of line spaces  :%s/ +$//  ===  global com...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===  search and replace ===&lt;br /&gt;
global&lt;br /&gt;
 :%s/search/replace/&lt;br /&gt;
&lt;br /&gt;
global, multiple occurrences on each line&lt;br /&gt;
 :%s/search/replace/g&lt;br /&gt;
&lt;br /&gt;
remove end of line spaces&lt;br /&gt;
 :%s/ +$//&lt;br /&gt;
&lt;br /&gt;
===  global commands ===&lt;br /&gt;
global delete&lt;br /&gt;
 :g/some text in lines to delete/d&lt;br /&gt;
&lt;br /&gt;
===  automatic formatting ===&lt;br /&gt;
check autoformat options&lt;br /&gt;
 :set formatoptions&lt;br /&gt;
&lt;br /&gt;
set autoformat options&lt;br /&gt;
 :set formatoptions=croql&lt;br /&gt;
&lt;br /&gt;
format options&lt;br /&gt;
 1 - single letter words on next line&lt;br /&gt;
 2 - keep 2nd line indent&lt;br /&gt;
 c - comments (plus leader)&lt;br /&gt;
 n - numbered lists&lt;br /&gt;
 q - allow 'gq' to work&lt;br /&gt;
 r - (in mail) comment leader after&lt;br /&gt;
 t - textwidth&lt;br /&gt;
&lt;br /&gt;
other format options&lt;br /&gt;
 :set autoindent&lt;br /&gt;
 :set noautoindent&lt;br /&gt;
 :set expandtab&lt;br /&gt;
 :set noexpandtab&lt;br /&gt;
 :set shiftwidth=3&lt;br /&gt;
 :set smartindent&lt;br /&gt;
 :set nosmartindent&lt;br /&gt;
 :set tabstop=3&lt;br /&gt;
 :set textwidth&lt;br /&gt;
 :set wrapmargin&lt;br /&gt;
 :set nowrapmargin&lt;/div&gt;</summary>
		<author><name>Support</name></author>	</entry>

	</feed>