emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Shortkeys for shifting dates in Agenda view?
Date: Tue, 02 Jul 2013 12:21:40 +0800	[thread overview]
Message-ID: <874ncdpp63.fsf@ericabrahamsen.net> (raw)
In-Reply-To: loom.20130701T170623-70@post.gmane.org

Martin <elwood151@web.de> 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	other threads:[~2013-07-02  4:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01 15:15 Shortkeys for shifting dates in Agenda view? Martin
2013-07-02  4:21 ` Eric Abrahamsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ncdpp63.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).