View Single Post

   
  #4 (permalink)  
Old 02-19-2008, 12:02 PM
Erich Hoffmann
 
Posts: n/a
Default Re: .vimrc and wrapmargin

Am Mon, 7 Jun 2004 16:34:23 +0000 (UTC)
schrieb Juergen Frieling <juergen@beer.com>:
>
>> This is strange but for some reason when I set my wrapmargin in my
>> .vimrc to 80 it ends up wrapping at like 5 cols. This makes no sense to

>
> wrapmargin AFAIK counts from the right, that is you get column 80-80=0 :-)


This is why I use [set textwidth=80] and not wrapmargin.
Start from inside Vim

:help textwidth

and/or

:help wrap
:help wrapmargin
:help formatoptions

hth,

erich

--
REPLY-TO: ...er1ch=erich...h0ff=hoff...
Reply With Quote