<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Tue, 16 Jun 2009 13:37:22 -0000</lastBuildDate><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-10998646</link><description>You can also add:&lt;br&gt;set number&lt;br&gt;~/.vimrc</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Tue, 16 Jun 2009 13:37:22 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-9283659</link><description>Good tip. I get horizontal lines underneath the numbers, is that supposed to happen?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James</dc:creator><pubDate>Wed, 13 May 2009 11:59:01 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-7372592</link><description>too easy.. :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave</dc:creator><pubDate>Fri, 20 Mar 2009 10:15:51 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-7255880</link><description>thanks it helped!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vasanth</dc:creator><pubDate>Mon, 16 Mar 2009 11:45:16 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-6131365</link><description>Nice... had forgotten my vi</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joe</dc:creator><pubDate>Mon, 09 Feb 2009 23:29:16 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-5875611</link><description>Thanks. It was helpful for me</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sandy</dc:creator><pubDate>Thu, 05 Feb 2009 16:28:03 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-5866815</link><description>Sure thing -- just add&lt;br&gt;&lt;br&gt;:set number&lt;br&gt;&lt;br&gt;to the file  .vimrc   in your home directory.  &lt;br&gt;&lt;br&gt;Sometime when you get bored, type   :set all   while in vim.. it'll show you all the available options.  Chances are if there's some behavior you don't like in vim, you can tweak it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qmchenry</dc:creator><pubDate>Thu, 05 Feb 2009 10:14:57 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-5862428</link><description>Is it possible to get vim to show line numbers by default? I need them more often than not.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Thu, 05 Feb 2009 06:22:38 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-5501537</link><description>helped me too!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tom</dc:creator><pubDate>Fri, 23 Jan 2009 16:35:19 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-4446416</link><description>Helped me!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">robertmarkbram</dc:creator><pubDate>Wed, 17 Dec 2008 01:15:25 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-3643917</link><description>MANY THX!!!!!!!!!!!!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pandiano</dc:creator><pubDate>Sun, 09 Nov 2008 09:17:40 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-3144938</link><description>thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thanks</dc:creator><pubDate>Sat, 18 Oct 2008 11:03:20 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-2804922</link><description>wow, thanks. very helpful!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">trilobites</dc:creator><pubDate>Thu, 02 Oct 2008 14:32:07 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-2767433</link><description>Alternativley you can see the current cursor postiton with :set ruler</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 18 Jan 2005 21:55:17 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-2767432</link><description>That works &lt;strong&gt;wonderfully&lt;/strong&gt;! Thank you very much!!   :D</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">penno</dc:creator><pubDate>Wed, 12 May 2004 14:50:32 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-2767431</link><description>If you are in a UNIX operating system, you can create a file in your home directory called &lt;strong&gt;.exrc&lt;/strong&gt; that vi will read when it starts.  Just put &lt;strong&gt;set number&lt;/strong&gt; on its own line as well as any other set.  To see what other options are available and their current values, use &lt;strong&gt;:set all&lt;/strong&gt; from within vi.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qmchenry</dc:creator><pubDate>Wed, 12 May 2004 02:01:38 -0000</pubDate></item><item><title>Re: Show line numbers in vi or vim | UNIX | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/#comment-2767430</link><description>Does anyone know how to make line numbers the default??  :?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">penno</dc:creator><pubDate>Tue, 11 May 2004 17:54:10 -0000</pubDate></item></channel></rss>