On Sat, Mar 11, 2000 at 02:04:56PM +0000, J McKitrick wrote:
> Well, here on my shell account i use the original vi. On my machine i use vim.
> So, which margin settings can i use?
> --
> -jm
I use vim and I have to following in my .vimrc
:set tw=70<CR>
:map <F10> gqap
This will cause vim to insert a newline (as you type) between words so
that the line is not longer than 70 characters. This only applies,
however, when the cursor is at the end of the line. IOW, if you stop
typing and go back up a line to insert more text, vim is not going to
automatically reformat the entire paragraph for you. That's why I
mapped F10 to the command to reformat a paragraph.
-Matt