This is a discussion on .vimrc and wrapmargin within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> This is strange but for some reason when I set my wrapmargin in my ..vimrc to 80 it ends ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 me at all and was wondering if anybody had some ideas for this? I use a seperate .vimrc file for mutt and vim is called from mutt with the -u option to load the custom rc file but why would marginwrap=80 not wrap at 80? |
| |||
| Hallo Scott Eberl > 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 :-) Juergen |
| |||
| Scott Eberl <scott@airea420.com> schrieb: > 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 > me at all and was wondering if anybody had some ideas for this? I use a > seperate .vimrc file for mutt and vim is called from mutt with the -u > option to load the custom rc file but why would marginwrap=80 not wrap > at 80? I'm not that expert in vimrc's, but this is my entry in ~/.muttrc: set editor="vim -c 'set tw=72 et'" No aditional vimrc needed, wraps the lines correct, so maybe you are looking for a solution like this. HTH, Kai Brust |
| ||||
| 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... |
| Thread Tools | |
| Display Modes | |
|
|