Hi,

Tomas Pihl wrote:
>
> As a convert from the dark side, I'm still learning Vim and have started to 
> use
> it for editing mails (from mutt) to get some practice. One thing that I 
> haven't
> managed to find is how I get rid of the (what I think) is some smart indenting
> after ( , ), / and , So if I type
> 
>   Hello all,
> 
> and press return, I end up under "a" but I really want to be under "H". What
> can I do to make this happen?

probably the cindent option is set. You can check this (and from where
it has been set) with

  :verbose set cindent?

(Note the trailing question mark.) This should give you the name of a
script file. To unset this option you can either remove the offending
line from this file or, if you want to deactivate this option only for
mails, put the line

  set nocindent

in a mail filetype plugin, e.g. ~/.vim/after/ftplugin/mail.vim.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

Reply via email to