<?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>Over It. &#187; Vim</title>
	<atom:link href="http://jason.diamond.name/weblog/tag/vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://jason.diamond.name/weblog</link>
	<description>(a Weblog by Jason Diamond)</description>
	<lastBuildDate>Mon, 30 Jan 2012 20:08:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Selecting element content with Vim</title>
		<link>http://jason.diamond.name/weblog/2010/05/27/selecting-element-content-with-vim/</link>
		<comments>http://jason.diamond.name/weblog/2010/05/27/selecting-element-content-with-vim/#comments</comments>
		<pubDate>Fri, 28 May 2010 01:00:38 +0000</pubDate>
		<dc:creator>Jason Diamond</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://jason.diamond.name/weblog/?p=99</guid>
		<description><![CDATA[When editing an XML file in Vim, I wanted to delete the content of an element so that I could replace it with some completely new text. I thought I could use ct&#60; to change up until the next &#60; character but that didn&#8217;t work because the end tag was on a subsequent line. I [...]]]></description>
			<content:encoded><![CDATA[<p>When editing an XML file in Vim, I wanted to delete the content of an element so that I could replace it with some completely new text. I thought I could use <code>ct&lt;</code> to <strong>c</strong>hange up un<strong>t</strong>il the next <strong>&lt;</strong> character but that didn&#8217;t work because the end tag was on a subsequent line.</p>
<p>I learned I could use <code>c/t&lt;CR&gt;</code>, but I use <code>hlsearch</code> and that left me with all of my &lt; characters highlighted. Yuck.</p>
<p>Then I stumbled upon the <code>it</code> motion. A quick <code>cit</code> and all of the content <strong>i</strong>nside the current <strong>t</strong>ag (no matter where the cursor actually is) gets deleted and I&#8217;m ready to replace. Perfect!</p>
]]></content:encoded>
			<wfw:commentRss>http://jason.diamond.name/weblog/2010/05/27/selecting-element-content-with-vim/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

