Tuesday, May 8, 2012

Re: How do I tell Vim I want line numbering when I view Help topics?

Hi,

you could use "set number" in .vim/ftplugin/help.vim

regards, Thomas

On Tue, May 08, 2012 at 15:58:34 -0700, sfosparky wrote:
> How can I tell VIM that I want it to display line numbering whenever
> I view a help topic?
>
> Of course "set number" (without the quotation marks) in my .vimrc
> file tells Vim I want line numbering on by default in my editing
> windows. So far, so good.
>
> But I also want to tell Vim to display line numbers in help topics I
> access via ":help [topic]".
>
> As it stands, to display line numbering in Help I need to type "set
> number" after Vim displays the help information. And if I've done
> that, and then use any of the navigation features to move to another
> Help topic, Vim turns off the line numbers.
>
> Cheers & thanks,
> Ric
> SFO

--
Zombie processes haunting the computer

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: