> 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
Yes, I'd of that, but couldn't figure out what needs to be done. I must
have a more concentrated look at it later. Meanwhile, I'm using "--"
instead, which doesn't cause the problem.
--
Anthony Campbell - ac@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment