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

2015-03-29 Thread Jacob Gerlach
On Sun, Mar 29, 2015 at 4:05 PM, Kyle Meyer wrote: > With org-use-speed-commands set to t, this could be "C-c C-p p p". Well, this is much better. Should have thought to check the info, of course there's already something like this built in... On Sun, Mar 29, 2015 at 4:09 PM, John Kitchin wrote

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

2015-03-29 Thread Suvayu Ali
On 29 March 2015 at 23:43, 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 ? https://github.com/abo-abo/hydra/ -- Suvayu Open source is the future. It sets us free.

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

2015-03-29 Thread Kyle Meyer
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

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

2015-03-29 Thread Xavier Maillard
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 ? -- Xavier.

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

2015-03-29 Thread Kyle Meyer
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")

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

2015-03-29 Thread John Kitchin
This kind of repeated command seems to be a good application for hydra. On Sunday, March 29, 2015, Kyle Meyer wrote: > Jacob Gerlach > wrote: > > Hi List, > > > > I often find myself wanting to move up by several headings: > > > > C-c C-p, C-c C-p, C-c C-p... > > (I don't usually know ahead of t

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

2015-03-29 Thread Kyle Meyer
Jacob Gerlach wrote: > Hi List, > > I often find myself wanting to move up by several headings: > > C-c C-p, C-c C-p, C-c C-p... > (I don't usually know ahead of time how many I want to move, so I > can't use a numeric prefix arg) > > I like how `set-mark-command' works with non-nil `set-mark-repe

[O] [RFC] Repeat Heading movement commands

2015-03-29 Thread Jacob Gerlach
Hi List, I often find myself wanting to move up by several headings: C-c C-p, C-c C-p, C-c C-p... (I don't usually know ahead of time how many I want to move, so I can't use a numeric prefix arg) I like how `set-mark-command' works with non-nil `set-mark-repeat-pop' to avoid the need to repeat a