<?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>/harry-webster.co(.uk&#124;m)/ &#187; vim</title>
	<atom:link href="http://www.harry-webster.co.uk/tag/vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harry-webster.co.uk</link>
	<description>Harry Webster&#039;s Blog</description>
	<lastBuildDate>Thu, 11 Aug 2011 18:43:03 +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>Remove ^M in Vim</title>
		<link>http://www.harry-webster.co.uk/2010/02/remove-m-in-vim/</link>
		<comments>http://www.harry-webster.co.uk/2010/02/remove-m-in-vim/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 15:29:00 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[dos2unix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.harry-webster.co.uk/?p=22</guid>
		<description><![CDATA[Often people upload plain text files to one of the sites that I work with and when I edit it through Vim it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Often people upload plain text files to one of the sites that I work with and when I edit it through Vim it&#8217;s covered in ^M&#8217;s&#8230; They&#8217;re created by Windows clients because there operating system deals with the end of a line differently to Linux.</p>
<p>To remove this in Vim</p>
<blockquote>
<pre>:%s/^V^M//g</pre>
</blockquote>
<p>The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this:</p>
<blockquote>
<pre>:%s/^M//g</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.harry-webster.co.uk/2010/02/remove-m-in-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

