On Tue, Nov 02, 2010 at 04:03:51PM +0000, Anthony Campbell wrote: > In insert mode, if a line starts with "-" the next line is indented. This is > not what I want. > > After a lot of experimenting, I found that it was because either > textwidth or wrapmargin was set to a non-zero value. Is there any way to > get round this? I do need to set textwidth but I don't want to have to > keep correcting lines with initial "-".
This could be caused by the 'formatoptions' setting, check :h 'formatoptions' and :h fo-table for more information. Hope this helps, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
pgp7jD4D7D9MM.pgp
Description: PGP signature
