|
From: | Marc Ihm |
Subject: | Re: [O] simple way to call `C-c a v' or a way to bind it to a key? |
Date: | Sun, 16 Feb 2014 22:20:42 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hi Yaushi, how about (global-set-key (kbd "<f12>") (lambda () (interactive) (execute-kbd-macro (kbd "C-c a v")))) ? best regards Marc P.s.: In my opinion, the name "execute-kbd-macro" of this builtin function is somewhat misleading; "replay-keys" describes this usage closer ... Am 15.02.2014 14:35, schrieb Yasushi SHOJI:
Hello, These days I hit `C-c a v' many many times a day, and now feel that the three key combination is too much. I'd like to improve the situation by binding the same functionality to a key, say, F12, if possible. Looking at the `org-agenda' dispatch code, there are quite a few lines before calling `org-agenda-list'. Simply binding `org-agenda-list' to a key does not seem to work. Is there a simple way to do it? Or do I have to re-implement my own function? Thanks in advance,
[Prev in Thread] | Current Thread | [Next in Thread] |