Oliver Fuchs sez: } Hi, } } I often have to send mails to a address (like [EMAIL PROTECTED]) and I always } use a pattern file loaded via vim. } } Can I please mutt to open this file when i mail to a/this special address? } } Example: } To: [EMAIL PROTECTED] } Subject: Bug Rogers } } And then mutt should open my pattern file with vim } /home/me/pattern.file.
Figure out what sort of pattern you want to use, first of all. It looks like you want to match the recipient. Then use a send-hook on that pattern to set your editor slightly differently. For example: send-hook '.' 'set editor="vim"' send-hook '~C bug@' 'set editor="vim +\"\\$r ~/bugpatternfile\""' (You may have to check on the backslash-quoting of the $.) } Oliver --Greg
