From: Rainer Stengele <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Subject: Re: org-speed-commands and `org-beginning-of-line-tip'
Date: Fri, 02 Aug 2013 08:57:37 +0200 [thread overview]
Message-ID: <ktfl8n$bdv$1@ger.gmane.org> (raw)
In-Reply-To: <CAA01p3r_1tPT15xVzs+OrO6nHWND-zmiBNjRc7+DdfsFDJ8wxw@mail.gmail.com>
Am 8/1/2013 9:18 AM, schrieb Oleh:
> 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
>
>
Hi, nice idea, thanks.
Rainer
prev parent reply other threads:[~2013-08-02 6:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 7:18 org-speed-commands and `org-beginning-of-line-tip' Oleh
2013-08-02 6:57 ` Rainer Stengele [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='ktfl8n$bdv$1@ger.gmane.org' \
--to=rainer.stengele@online.de \
--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).