Fernando Basso wrote:
Let's say I'm writing a comment, and it takes two lines long.
I start like this:
/* When user clicks, remove both 'narrow' and 'large' css classes and
(I hit <Return> here, and continue on the next line)
* make the page use the default styling. */
Then I notice that I could have written less words on the first
comment line, and more on the second one.
Any ideas on how I could "format" the comment so that both lines would
be more or less the same length? (I know I could just edit it, but it
might there be an easier and faster way.)
Any ideas would be appreciated.
Fernando,
You should be sure your 'formatoptions' contains q and c. Also, set
'textwidth' to the line length you want.
:help fo-table
:help formatoptions
Sincerely,
Brett Stahlman
--
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