<<< Date Index >>>     <<< Thread Index >>>

Re: 3 questions about editing mail with vim



On Tue, 11 May 2004 the mental interface of
Vlad Ghitulescu told:

> Hello!
> 
> 
> I have 3 questions about editing mails with vim.
> 
> 1.- I have in my .muttrc 
> 
> set editor='vim + -c "set textwidth=72 expandtab"'
> 
> While editing a new mail the width stays by 72 ... but if I try to
> insert some new content on a previous line, vim seems to forget this
> and generate lines that exceeds the 72 columns. Do you have this problem
> too? Is there any solutions?

This is as simple as it is for your muttrc:
set editor="vim %s"


These are terms for your vimrc:
if has("autocmd")
                au FileType mail set tw=68
                au FileType mail set expandtab
                au FileType mail set tabstop=3
endif


Ciao

Elimar




-- 
  You cannot propel yourself forward by
  patting yourself on the back.

Attachment: signature.asc
Description: Digital signature