emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: 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	[thread overview]
Message-ID: <87ha80tp8f.fsf@gmail.com> (raw)
In-Reply-To: 87k3cw1osk.wl@dns1.atmark-techno.com

Yasushi SHOJI <yashi@atmark-techno.com> 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

  reply	other threads:[~2014-02-15 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-15 13:35 simple way to call `C-c a v' or a way to bind it to a key? Yasushi SHOJI
2014-02-15 14:38 ` Thorsten Jolitz [this message]
2014-02-15 16:31   ` Yasushi SHOJI
2014-02-15 17:34     ` Thorsten Jolitz
2014-02-16  8:07       ` Yasushi SHOJI
2014-02-16 21:20 ` Marc Ihm
2014-02-17  9:43   ` Nicolas Richard
2014-02-18  3:45     ` Yasushi SHOJI

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=87ha80tp8f.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --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).