On Sun, Nov 10, 2002 at 08:44:09AM -0600, Curt Daugaard wrote: > Sometimes when I format a paragraph in vim with 'Qap' I get results like this: > > xxx xxx xxxxx xxxxxxx x xxxx xxxxxxx xxx xxxxxxxx > xxxxxx xxxxx xxxxxxx x xxxx xxxxxxx xxx xxxxxxxx > xxx xxxxxxxx xxxxxxx x xxxx xxxxxxx xxx xxxxxx xxx > xxx xxx xxxxxxxxxxxx x xxxx xxxxxxx xxx xxxxxxxx ^^^^^^ Does this line happen to start with "if", "while", "for", or some other common flow-control word? If so, vim is probably doing an unwanted smart-indent for you. Try adding "set nosi" to your .vimrc and see if it goes away. The down side is that if you use vim for any kind of programming you'll lose that convenience feature (which isn't a big deal anyway).
> xxxx xxxxxxxx xxx x xxxx xxxx xxxx. > xxxx xxxxxxxx xxx x xxxx xxxx xxxx. > > Why do the last lines indent? If I join all the lines and reformat, > the result is the same. There's no predicting when it will happen. > Weird. I there some strange setting I've included or omitted from my > .vimrc? -- Michael Heironimus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]