From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: [RFC] Repeat Heading movement commands Date: Sun, 29 Mar 2015 16:35:06 -0400 Message-ID: <87iodjfsp1.fsf@kmlap.domain.org> References: <87mw2vfu23.fsf@kmlap.domain.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcJqp-0005tw-18 for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 16:30:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcJqk-0007Gc-4J for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 16:30:30 -0400 Received: from mail-qg0-f49.google.com ([209.85.192.49]:35159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcJqj-0007F8-Sf for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 16:30:25 -0400 Received: by qgh3 with SMTP id 3so156710844qgh.2 for ; Sun, 29 Mar 2015 13:30:25 -0700 (PDT) In-Reply-To: (John Kitchin's message of "Sun, 29 Mar 2015 16:09:30 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: Jacob Gerlach , Org-mode John Kitchin 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