Hi mutt,

I want to dynamically form a greeting line base on the "To:" field.

To: Firstname Lastname <firstname.lastn...@example.org>
A typical line would be look like:
Hi Firstname,

My workaround method is:
1)~/.muttrc
set edit_headers=yes

2)signature file
Hi
Xlii

3)~/.vimrc
let mapleader = ","
nmap <Leader>n ggjwlvey:/^Hi<enter>A<c-o>p,<esc>o

--------------------
Hi
Xlii
--------------------
apply the mapping ",n"
--------------------
Hi Firstname,
|
Xlii
--------------------

Does anybody know a simple way to do that in mutt?
Thanks!

Xlii

Reply via email to