emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] Repeat Heading movement commands


From: Kyle Meyer
Subject: Re: [O] [RFC] Repeat Heading movement commands
Date: Sun, 29 Mar 2015 16:35:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

John Kitchin <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]