On Nov 2, 11:03 am, Anthony Campbell <[email protected]> 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 "-". >
After some experimenting on MY end, the problem is actually in two settings: 'comments' contains the string "fb:-" 'formatoptions' contains a 'c' Removing either of these should fix your problem. Note that this is actually a feature, it allows you to properly indent bulleted lists like this: - item one - item two - item three See :help format-comments and of course the :help entry for 'comments', 'formatoptions', and fo-table for details. -- 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
