On 13.09.10,21:26, Jostein Berntsen wrote: > On 12.09.10,17:47, Charles Jie wrote: > > > > I tried to make this work by using a double macro like this: > > macro compose <F5> ":my_hdr X-PGP-KEYS: http://www..." > macro compose <F6> "ps <F5>" > > > but that seems not to work as expected. Anyone got a suggestion on how > to resolve this? >
A way to solve this by doing <F6><F6> in Compose: In .muttrc: macro compose <F6> "psE" In .vimrc: map <F6> !!echo "X-PGP-KEYS: http://www.j.com"<CR><C-U> (where <C-U> is mapped to :wq!). Jostein