<?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: Vim Intermediate Tutorial Videos</title>
	<atom:link href="http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derekwyatt.org</link>
	<description>Vim, OO Design and Piles of Uselessness</description>
	<lastBuildDate>Thu, 29 Jul 2010 09:06:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jake</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-2519</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Fri, 09 Jul 2010 17:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-2519</guid>
		<description>useful,thank you.</description>
		<content:encoded><![CDATA[<p>useful,thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mert Nuhoglu</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-2269</link>
		<dc:creator>Mert Nuhoglu</dc:creator>
		<pubDate>Mon, 14 Jun 2010 08:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-2269</guid>
		<description>Derek, these videos are wonderful. Reading a book or an article cannot bring the knowledge learned from these videos. 

Is it possible that you make videos for normal and command-line modes as well?

Best, Mert</description>
		<content:encoded><![CDATA[<p>Derek, these videos are wonderful. Reading a book or an article cannot bring the knowledge learned from these videos. </p>
<p>Is it possible that you make videos for normal and command-line modes as well?</p>
<p>Best, Mert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blazej Floch</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-1541</link>
		<dc:creator>Blazej Floch</dc:creator>
		<pubDate>Tue, 06 Apr 2010 16:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-1541</guid>
		<description>You tutorials are really great. I appreciate your effort.
Could you do one on folding? Or did I miss it somewhere?

... well if you are not super busy with other stuff. Actually no, I don&#039;t mind if you are busy. Make more tutorials :p

Cheers,
Blazej</description>
		<content:encoded><![CDATA[<p>You tutorials are really great. I appreciate your effort.<br />
Could you do one on folding? Or did I miss it somewhere?</p>
<p>&#8230; well if you are not super busy with other stuff. Actually no, I don&#8217;t mind if you are busy. Make more tutorials :p</p>
<p>Cheers,<br />
Blazej</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Wyatt</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-689</link>
		<dc:creator>Derek Wyatt</dc:creator>
		<pubDate>Sat, 02 Jan 2010 11:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-689</guid>
		<description>There are a number of ways to do this, but I&#039;ll discuss two here...

The first is probably just to use the VisIncr plugin - see the video at http://vimeo.com/4457161 and the plugin at http://www.vim.org/scripts/script.php?script_id=670.

You can also do this as a command-line entry like this:

let x=0 &#124; g/dummy/s/$/\=x+1/ &#124; let x=x+1

If you want to format the numbers to be a width of 3, padded by 0&#039;s then you can do this:

let x=0 &#124; g/dummy/s/$/\=printf(&quot;%03d&quot;,x+1)/ &#124; let x=x+1

If you only want &quot;dummy&quot;s in a particular range to be modified, then do this:

let x=0 &#124; &#039;a,&#039;bg/dummy/s/$/\=printf(&quot;%03d&quot;,x+1)/ &#124; let x=x+1

where &#039;a and &#039;b are marks you&#039;ve created to mark particular lines.  Of course, you can use any range element in there that you want (e.g. 1,20).</description>
		<content:encoded><![CDATA[<p>There are a number of ways to do this, but I&#8217;ll discuss two here&#8230;</p>
<p>The first is probably just to use the VisIncr plugin &#8211; see the video at <a href="http://vimeo.com/4457161" rel="nofollow">http://vimeo.com/4457161</a> and the plugin at <a href="http://www.vim.org/scripts/script.php?script_id=670" rel="nofollow">http://www.vim.org/scripts/script.php?script_id=670</a>.</p>
<p>You can also do this as a command-line entry like this:</p>
<p>let x=0 | g/dummy/s/$/\=x+1/ | let x=x+1</p>
<p>If you want to format the numbers to be a width of 3, padded by 0&#8217;s then you can do this:</p>
<p>let x=0 | g/dummy/s/$/\=printf(&#8220;%03d&#8221;,x+1)/ | let x=x+1</p>
<p>If you only want &#8220;dummy&#8221;s in a particular range to be modified, then do this:</p>
<p>let x=0 | &#8216;a,&#8217;bg/dummy/s/$/\=printf(&#8220;%03d&#8221;,x+1)/ | let x=x+1</p>
<p>where &#8216;a and &#8216;b are marks you&#8217;ve created to mark particular lines.  Of course, you can use any range element in there that you want (e.g. 1,20).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-687</link>
		<dc:creator>Phillip</dc:creator>
		<pubDate>Sat, 02 Jan 2010 11:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-687</guid>
		<description>Question.

I want to add number sequentially in a file and add it to the end of the line.

Just so I am clear. Let&#039;s use and example.

dummy01
dummy02
dummy03

I have 1000 dummy&#039;s to add but the rest has only dummy. So As you can tell this needs to be sequentially.

Any easy way to do this in vi or vim?</description>
		<content:encoded><![CDATA[<p>Question.</p>
<p>I want to add number sequentially in a file and add it to the end of the line.</p>
<p>Just so I am clear. Let&#8217;s use and example.</p>
<p>dummy01<br />
dummy02<br />
dummy03</p>
<p>I have 1000 dummy&#8217;s to add but the rest has only dummy. So As you can tell this needs to be sequentially.</p>
<p>Any easy way to do this in vi or vim?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitko</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-507</link>
		<dc:creator>Mitko</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-507</guid>
		<description>Hi,

actually :ec$HOME works on any system. I suppose %HOME% is just copied to $HOME, same for all other vars</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>actually :ec$HOME works on any system. I suppose %HOME% is just copied to $HOME, same for all other vars</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Wyatt</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-475</link>
		<dc:creator>Derek Wyatt</dc:creator>
		<pubDate>Sat, 28 Nov 2009 22:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-475</guid>
		<description>I actually do that for C++ files but in truth it&#039;s wildly annoying and I&#039;m thinking about tossing it :)  Thx for the tip though... it&#039;s a good one.</description>
		<content:encoded><![CDATA[<p>I actually do that for C++ files but in truth it&#8217;s wildly annoying and I&#8217;m thinking about tossing it :)  Thx for the tip though&#8230; it&#8217;s a good one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitko</title>
		<link>http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-intermediate-tutorial-videos/comment-page-1/#comment-472</link>
		<dc:creator>Mitko</dc:creator>
		<pubDate>Fri, 27 Nov 2009 11:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=14#comment-472</guid>
		<description>Hi Derek,

you could make use of this:

autocmd BufEnter * if &amp;filetype != &#039;help&#039; &#124; silent! cd %:p:h &#124; endif

instead of using ,cd every time

Cheers</description>
		<content:encoded><![CDATA[<p>Hi Derek,</p>
<p>you could make use of this:</p>
<p>autocmd BufEnter * if &amp;filetype != &#8216;help&#8217; | silent! cd %:p:h | endif</p>
<p>instead of using ,cd every time</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>
