"Martin Beck" wrote:
> I want to simplify that keystroke and bind it to a function key, e.g. F12.
> What works for me is (global-set-key (kbd "<f12>") 'org-agenda) which at least
> brings me to the overview over all defined agendas, but how can I bind F12
> directly to the Agenda with trigger "h"?
--8<---------------cut here---------------start------------->8---
(global-set-key (kbd "<f12>")
(lambda ()
"Execute `C-c a h'."
(interactive)
(org-agenda nil "h")))
--8<---------------cut here---------------end--------------->8---
Best regards,
Seb
--
Sebastien Vauban