[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] simple way to call `C-c a v' or a way to bind it to a key?
From: |
Thorsten Jolitz |
Subject: |
Re: [O] simple way to call `C-c a v' or a way to bind it to a key? |
Date: |
Sat, 15 Feb 2014 15:38:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Yasushi SHOJI <address@hidden> writes:
> 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,
instead of:
,-------------------------------------
| (global-set-key "\C-ca" 'org-agenda)
`-------------------------------------
use:
,-------------------------------------------
| (global-set-key (kbd "<f12>") 'org-agenda)
`-------------------------------------------
--
cheers,
Thorsten