<?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>7thgroove &#187; Vi/Vim</title>
	<atom:link href="http://www.7thgroove.com/blog/category/vivim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.7thgroove.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 31 Aug 2009 21:01:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Changing Tabs to Spaces in Vim</title>
		<link>http://www.7thgroove.com/blog/2007/changing-tabs-to-spaces-in-vim/</link>
		<comments>http://www.7thgroove.com/blog/2007/changing-tabs-to-spaces-in-vim/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 03:39:27 +0000</pubDate>
		<dc:creator>Hugh</dc:creator>
				<category><![CDATA[Vi/Vim]]></category>
		<category><![CDATA[unix/linux]]></category>

		<guid isPermaLink="false">http://www.7thgroove.com/blog/2007/changing-tabs-to-spaces-in-vim/</guid>
		<description><![CDATA[Boy oh boy, I certainly hate finding tabs in source files I have to work on. While tabs are easy to get rid of (usually automatically) in most modern IDE&#8217;s, I often find I have to work remotely on source files using Vi/Vim. Making sure all tabs have been converted to spaces is usually the [...]]]></description>
			<content:encoded><![CDATA[<p>
Boy oh boy, I certainly hate finding tabs in source files I have to work on.  While tabs are easy to get rid of (usually automatically) in most modern IDE&#8217;s, I often find I have to work remotely on source files using Vi/Vim.  Making sure all tabs have been converted to spaces is usually the first thing I do, when working with a new source base &#8230;<span id="more-154"></span>
</p>
<p>
To convert all tabs to spaces within Vim, use the <code>:retab</code> command like so: <code><br />
:set expandtab<br />
:%retab<br />
</code>
</p>
<p>
For more info, check out the <a href="http://www.vim.org/htmldoc/usr_30.html#30.5">Vim user documentation: Tabs and spaces</a> section.
</p>
<p>h u g h</p>
]]></content:encoded>
			<wfw:commentRss>http://www.7thgroove.com/blog/2007/changing-tabs-to-spaces-in-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
