emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Shortkeys for shifting dates in Agenda view?


From: Eric Abrahamsen
Subject: Re: [O] Shortkeys for shifting dates in Agenda view?
Date: Tue, 02 Jul 2013 12:21:40 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Martin <address@hidden> writes:

> I often use the agenda view to postpone tasks to future dates, so
> technically I want to change the SCHEDULED or DEADLINE dates of one or
> several agenda lines to a future date, e. g. "tomorrow".
>
> This is possible with the shortkey Shift-<right arrow>, however this forces
> me to move my right hand away from the main block of alphanumeric keys
> (QERTZ...) to the cursor block.
> As all other "navigation commands" are available diretctly in the
> QWERTZ-block (e. g. "n" for "next line"), this is disturbing for my typing.
>
> Is there a built-in key for that?
> Sure I could achieve that with CtrlC, Ctrl-S, +1, <Ret>, but this is 4
> keystrokes instead of one...

">" _is_ the built-in key! If you don't like where it's located, you can
rebind `org-agenda-date-prompt' to a different key in the agenda map. As
you noted, almost the entire keyboard is already bound in agenda mode,
but if you hit "C-h m" and look at the bindings, you'll see a couple of
capital letters are free. Then in an eval-after-load block (or
org-agenda-mode-hook) you could call:

(define-key org-agenda-mode-map (kbd "K") org-agenda-date-prompt)

Or whatever you pick. That ought to work...

Eric

> Any suggestions are welcome.
> It is clear that I could define a custom command, but as there are already
> that many commands defined by org-mode or other packages, it is difficult
> for me as a newbie to choose one that makes sense and is not used for
> something else..
>
> Kind regards
>
> Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]