[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bind an agenda filter to a global shortcut
From: |
Bernt Hansen |
Subject: |
Re: [O] Bind an agenda filter to a global shortcut |
Date: |
Wed, 26 Oct 2011 18:14:17 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
Marcelo de Moraes Serpa <address@hidden> writes:
> Hmm, I actually already do that. The shortcut is not bad, but what I
> want to do is to bind it to a single keypress. With the custom agenda
> view, I still need to C-c a and then the shortcut, which is not bad,
> but there are one or two views that I use too often, and I'm being
> spoiled by VIM, I would like a single keypress :)
So just bind your favourite key to the view you want.
(global-set-key (kbd "<f9>") (lambda () (interactive) (org-agenda nil "X")))
to make f9 do the same as C-c a X
-Bernt