Tuesday, May 8, 2012

How do I tell VIMN to :set number whenever I view a help topic?

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.

But I also want to tell Vim to display line numbers in help topics I access via ":help [topic]".

As it stands, I need to type "set number" after Vim displays the help information to display line numbering. And with a help window open, if I use any of the navigation features to move to another topic, Vim turns off the line numbers.

Cheers & thanks,
Ric
SFO

--
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: