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 18:15:09 -0400 Message-ID: <87d23rfo2a.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]:35222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcLPb-0000Cv-Vk for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 18:10:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcLPY-0002hR-OI for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 18:10:31 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:34041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcLPY-0002hN-JU for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 18:10:28 -0400 Received: by qgep97 with SMTP id p97so173503142qge.1 for ; Sun, 29 Mar 2015 15:10:28 -0700 (PDT) In-Reply-To: (Xavier Maillard's message of "Sun, 29 Mar 2015 23:43:17 +0200") 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: Xavier Maillard Cc: Jacob Gerlach , Org-mode , John Kitchin Xavier Maillard wrote: > John Kitchin writes: > >> This kind of repeated command seems to be a good application for hydra. > > Excuse me if this is a FAQ but: what's hydra ? Hydra [1] is a really nice package for creating keymaps that are similar to keymaps under a prefix key. Hydra has lots of little features, but two main advantages of using a hydra over a standard prefix key are that commands are repeatable with a single key and that a menu displays the key/command information. Have a look at hydra-examples.el [2] for some use cases. [1] https://github.com/abo-abo/hydra [2] https://github.com/abo-abo/hydra/blob/master/hydra-examples.el -- Kyle