From: Oleh <ohwoeowho@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: org-speed-commands and `org-beginning-of-line-tip'
Date: Thu, 1 Aug 2013 09:18:03 +0200 [thread overview]
Message-ID: <CAA01p3r_1tPT15xVzs+OrO6nHWND-zmiBNjRc7+DdfsFDJ8wxw@mail.gmail.com> (raw)
Hi all,
I've come to rely on org-speed-commands quite a lot,
and I wanted to share this tip with other people, who use them:
(define-key org-mode-map (kbd "C-a")
(lambda()(interactive)
(if (looking-at "^[^*]")
(re-search-backward "^*")
(org-beginning-of-line))))
Basically, an additional C-a when already at the beginning of line takes you to
the previous heading, where speed commands are possible.
Since the normal C-a would do nothing in this case, it's a straight upgrade.
regards,
Oleh
next reply other threads:[~2013-08-01 7:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 7:18 Oleh [this message]
2013-08-02 6:57 ` org-speed-commands and `org-beginning-of-line-tip' Rainer Stengele
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=CAA01p3r_1tPT15xVzs+OrO6nHWND-zmiBNjRc7+DdfsFDJ8wxw@mail.gmail.com \
--to=ohwoeowho@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).