From: Kyle Meyer <kyle@kyleam.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: Jacob Gerlach <jacobgerlach@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Repeat Heading movement commands
Date: Sun, 29 Mar 2015 16:35:06 -0400 [thread overview]
Message-ID: <87iodjfsp1.fsf@kmlap.domain.org> (raw)
In-Reply-To: <CAJ51EToBa8MOt612Xj5NO3f0PHwHebmVzq-ohjOP5DVz8xJ_2Q@mail.gmail.com> (John Kitchin's message of "Sun, 29 Mar 2015 16:09:30 -0400")
John Kitchin <jkitchin@andrew.cmu.edu> wrote:
> This kind of repeated command seems to be a good application for
> hydra.
True. Basic navigation could be set up with something like this:
#+begin_src elisp
(defhydra hydra-org-navigation ()
"Org navigation"
("p" org-previous-visible-heading "previous heading")
("n" org-next-visible-heading "next heading")
("f" org-forward-heading-same-level "forward heading")
("b" org-backward-heading-same-level "backward heading")
("u" outline-up-heading "up heading")
("q" nil "cancel"))
#+end_src
--
Kyle
next prev parent reply other threads:[~2015-03-29 20:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 19:11 [RFC] Repeat Heading movement commands Jacob Gerlach
2015-03-29 20:05 ` Kyle Meyer
2015-03-29 20:09 ` John Kitchin
2015-03-29 20:35 ` Kyle Meyer [this message]
2015-03-29 21:43 ` Xavier Maillard
2015-03-29 22:10 ` Suvayu Ali
2015-03-30 0:33 ` Jacob Gerlach
2015-03-29 22:15 ` Kyle Meyer
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iodjfsp1.fsf@kmlap.domain.org \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=jacobgerlach@gmail.com \
--cc=jkitchin@andrew.cmu.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.