<?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: Show line numbers in vi or vim</title>
	<atom:link href="http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sun, 22 Nov 2009 00:56:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cédric Bosdonnat</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-15077</link>
		<dc:creator>Cédric Bosdonnat</dc:creator>
		<pubDate>Fri, 18 Sep 2009 06:10:19 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15077</guid>
		<description>@Rick: you can use only one shortcut to toggle the line numbers also with the following line (note the ! after the number which mean &quot;toggle&quot; for vi):&lt;br&gt;&lt;br&gt;nnoremap &lt;silent&gt; &lt;F6&gt; :set number!&lt;CR&gt;</description>
		<content:encoded><![CDATA[<p>@Rick: you can use only one shortcut to toggle the line numbers also with the following line (note the ! after the number which mean &#8220;toggle&#8221; for vi):</p>
<p>nnoremap &lt;silent&gt; &lt;F6&gt; :set number!&lt;CR&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Graham</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-15026</link>
		<dc:creator>Rick Graham</dc:creator>
		<pubDate>Wed, 16 Sep 2009 09:43:01 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15026</guid>
		<description>This is what I was looking for.&lt;br&gt;&lt;br&gt;Here&#039;s what I did:&lt;br&gt;&lt;br&gt;Edit ~/.vimrc&lt;br&gt;&lt;br&gt;add these lines:&lt;br&gt;&lt;br&gt;nnoremap &lt;silent&gt; &lt;F6&gt; :set number&lt;CR&gt;&lt;br&gt;nnoremap &lt;silent&gt; &lt;S-F6&gt; :set nonumber&lt;CR&gt;&lt;br&gt;&lt;br&gt;Now, F6 turns line numbers on, Shift F6 turns them off.</description>
		<content:encoded><![CDATA[<p>This is what I was looking for.</p>
<p>Here&#39;s what I did:</p>
<p>Edit ~/.vimrc</p>
<p>add these lines:</p>
<p>nnoremap &lt;silent&gt; &lt;F6&gt; :set number&lt;CR&gt;<br />nnoremap &lt;silent&gt; &lt;S-F6&gt; :set nonumber&lt;CR&gt;</p>
<p>Now, F6 turns line numbers on, Shift F6 turns them off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Broder</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-14881</link>
		<dc:creator>Tim Broder</dc:creator>
		<pubDate>Tue, 08 Sep 2009 15:29:24 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-14881</guid>
		<description>sweet, thanks</description>
		<content:encoded><![CDATA[<p>sweet, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dushi</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-14399</link>
		<dc:creator>Dushi</dc:creator>
		<pubDate>Thu, 20 Aug 2009 10:01:18 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-14399</guid>
		<description>that was so helpful. thanx...</description>
		<content:encoded><![CDATA[<p>that was so helpful. thanx&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-12562</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 16 Jun 2009 15:37:22 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-12562</guid>
		<description>You can also add:&lt;br&gt;set number&lt;br&gt;~/.vimrc</description>
		<content:encoded><![CDATA[<p>You can also add:<br />set number<br />~/.vimrc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-11357</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 13 May 2009 13:59:01 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-11357</guid>
		<description>Good tip. I get horizontal lines underneath the numbers, is that supposed to happen?</description>
		<content:encoded><![CDATA[<p>Good tip. I get horizontal lines underneath the numbers, is that supposed to happen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-9627</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 20 Mar 2009 12:15:51 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9627</guid>
		<description>too easy.. :-)</description>
		<content:encoded><![CDATA[<p>too easy.. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasanth</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-9507</link>
		<dc:creator>Vasanth</dc:creator>
		<pubDate>Mon, 16 Mar 2009 13:45:16 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9507</guid>
		<description>thanks it helped!</description>
		<content:encoded><![CDATA[<p>thanks it helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-8315</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 10 Feb 2009 01:29:16 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-8315</guid>
		<description>Nice... had forgotten my vi</description>
		<content:encoded><![CDATA[<p>Nice&#8230; had forgotten my vi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandy</title>
		<link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/comment-page-1/#comment-8195</link>
		<dc:creator>Sandy</dc:creator>
		<pubDate>Thu, 05 Feb 2009 18:28:03 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-8195</guid>
		<description>Thanks. It was helpful for me</description>
		<content:encoded><![CDATA[<p>Thanks. It was helpful for me</p>
]]></content:encoded>
	</item>
</channel>
</rss>
