* Vineet Kumar <[EMAIL PROTECTED]> [09-Mon-01 14:46 -0700]:
  >
  >* Erika Pacholleck ([EMAIL PROTECTED]) [010901 04:46]:
  >> [23.08.01 18:45 +0100] Ailbhe Leamy <-- :
  >> > On (18/08/01 18:57), David R?hr wrote:
  [...snip...]
  >> done. Set in mutt indent string to ">" and then change the vim call
  >> to change all lines beginning with a ">" character with a next character
  >> being a letter to convert the first ">" character to "> ".
  >> So mutt would automatically do
  >> >>> quoted3
  >> >> quoted2
  >> >quoted1
  >> And vim would change that to
  >> >>> quoted3
  >> >> quoted2
  >> > quoted1
  >
  >Or easier yet, keep mutt's setting to "> ", and have vim remove the
  >space as appropriate. This should do it:
  >
  >set editor="vim +%s/^> >/>>/"
  [...snip...]

just a minor suggestion. if you have vim6.x you can 

   set editor="vim -X -c 'set filetype=mail'"

then you can check in vim:

   :help filetype-plugin

for instructions on how to make vim execute commands based
on the filetype.

so, if you were to make a mail.vim, place the commands in
there, and set editor as above, you could make your editor
do many different things for mail, without actually having
to grow this huge string in your .muttrc.

i do this, and it works really well (not to mention that
vim6.x has lots of nice things in it not present in 5.x)

a thing to note, however, is that it is still a beta, albeit
pretty late one.

hth,

denis

-- 
// mailto: Denis Perelyubskiy <[EMAIL PROTECTED]>
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc

Reply via email to