<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Going to the End of a Search Highlight</title>
	<atom:link href="http://www.derekwyatt.org/2009/08/27/going-to-the-end-of-a-search-highlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derekwyatt.org/2009/08/27/going-to-the-end-of-a-search-highlight/</link>
	<description>Vim, OO Design and Piles of Uselessness</description>
	<lastBuildDate>Tue, 07 Sep 2010 02:55:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Derek Wyatt</title>
		<link>http://www.derekwyatt.org/2009/08/27/going-to-the-end-of-a-search-highlight/comment-page-1/#comment-22</link>
		<dc:creator>Derek Wyatt</dc:creator>
		<pubDate>Fri, 28 Aug 2009 19:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/2009/08/27/going-to-the-end-of-a-search-highlight/#comment-22</guid>
		<description>But that&#039;s exactly what I&#039;ve done above.  The &quot;//e&quot; is changing the search to go to the end.  However, what I didn&#039;t like is that it fundamentally changed the search permanently so that when I hit &#039;n&#039; or &#039;N&#039; it went to the end of the search, which is not what I had *originally* intended, so I put the original search back in the search register so that &#039;n&#039; and &#039;N&#039; did what I wanted.

So now you can search forward with /mysearch and then hit CTRL-e to go to the end of it, hit &#039;n&#039; to move to the beginning of the next match OR hit CTRL-e again to go to the end of the next match instead.

Just manually typing /search_term/e is a real pain in the butt.</description>
		<content:encoded><![CDATA[<p>But that&#8217;s exactly what I&#8217;ve done above.  The &#8220;//e&#8221; is changing the search to go to the end.  However, what I didn&#8217;t like is that it fundamentally changed the search permanently so that when I hit &#8216;n&#8217; or &#8216;N&#8217; it went to the end of the search, which is not what I had *originally* intended, so I put the original search back in the search register so that &#8216;n&#8217; and &#8216;N&#8217; did what I wanted.</p>
<p>So now you can search forward with /mysearch and then hit CTRL-e to go to the end of it, hit &#8216;n&#8217; to move to the beginning of the next match OR hit CTRL-e again to go to the end of the next match instead.</p>
<p>Just manually typing /search_term/e is a real pain in the butt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos Aggelidis</title>
		<link>http://www.derekwyatt.org/2009/08/27/going-to-the-end-of-a-search-highlight/comment-page-1/#comment-21</link>
		<dc:creator>Nikos Aggelidis</dc:creator>
		<pubDate>Fri, 28 Aug 2009 16:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/2009/08/27/going-to-the-end-of-a-search-highlight/#comment-21</guid>
		<description>please delete the first post
hi Derek!

To set the cursor to the end of a match you can do

/search_term/e

also the following work:

/search_term/e                      : cursor set to End of match
/search_term/e+1                    : cursor set to End of match plus 1
/search_term/s-2                    : cursor set to Start of match minus 2</description>
		<content:encoded><![CDATA[<p>please delete the first post<br />
hi Derek!</p>
<p>To set the cursor to the end of a match you can do</p>
<p>/search_term/e</p>
<p>also the following work:</p>
<p>/search_term/e                      : cursor set to End of match<br />
/search_term/e+1                    : cursor set to End of match plus 1<br />
/search_term/s-2                    : cursor set to Start of match minus 2</p>
]]></content:encoded>
	</item>
</channel>
</rss>
