Questions tagged [hydra]

for questions related to the use of the `hydra.el` package providing short keybindings for sequences of related commands

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Evil horisontal scroll key efficiency

Is it possible to make zl work as zlllll... (also zh) as many times as you need? What I do now is zl C-x z zzzz.... The hydra package seems to do that but I will have to re-map all keys starting with ...
3
votes
2answers
102 views

How to select a rotating Hydra option?

From SPC f f (counsel-find-file) minibuffer, open Hydra with C-o (hydra-ivy/body). This is what hydra looks on my system: The Hydra right column has "[m] matcher: order". Pressing 'm' rotates matcher ...
2
votes
2answers
249 views

How to properly define hydras inside use-package?

For example, I use undo-tree and have the following in my config file: (use-package undo-tree :ensure t :diminish (undo-tree-mode . "") :config (global-undo-tree-mode 1)) Now I want to use ...
0
votes
1answer
71 views

Hydra that executes interactive search

What I want is an easy-to-use hydra for macro execution. Typically I execute a keyboard macro a few times (e), and then might want to repeat infinitely until the end of a buffer (u). Sometimes I ...
1
vote
0answers
153 views

ivy-hydra: error upon C-o

While trying to figure out another problem. I was advised to use the ivy-hydra package. By default, it appears that ivy-hydra is NOT included with prelude-ivy. So I did a package-install ret ivy-...
1
vote
2answers
352 views

Returning to the parent hydra

I'm looking for a way to return to the parent hydra after using certain commands. In this example (defhydra hydra-a (:color teal) "a" ("b" (progn (hydra-b/body) (hydra-push '(...
2
votes
1answer
125 views

advice on easy formating of hydra docstring

so i used to use the auto generation of hydra hints with the :hint nil and :column 3 argument i recently find a need to have better control on whats presented in the hint area of some huge hydras i ...
2
votes
1answer
739 views

Little help with a hydra

I need a hydra with four "heads", each of should exit the hydra when its function is executed. The hydra intended to be used in dired-mode and direx:direx-mode and pop-up when O pressed. This is what ...
2
votes
1answer
79 views

How can i make toggle shortcuts like org mode or magit

I am writing an elisp package currently I am using hydra, I would like to be able to have shortcuts you can toggle on and off for various flags. You see this sort of thing in magit and org mode when ...
0
votes
1answer
84 views

bookmark+: after emacs restart the bmkp-jump-dired/bmkp-jump wont work before visiting buffers

this is a weird issue regarding Bookmark+. after an emacs restart the bmkp-jump-dired/bmkp-jump-1 functions wont work (when I launch them via a command such as in a hydra) before visiting the buffers. ...
4
votes
1answer
414 views

Make hints appear immedietly when using Hydra

I use Hydra, and find it very useful. However, I often find that I can only remember the key to trigger the hydra itself, but can't remember which keys are used for the "heads". Luckily, Hydra will ...
4
votes
1answer
603 views

Use hydra with evil motions

I'm trying to use a hydra to dispatch among a selection of motions. See this minimal example: (defhydra hydra/test (:color blue) "This is a test hydra" ("n" evil-next-line)) (evil-define-motion ...
1
vote
1answer
250 views

How to open a given directory in Dired?

I want to use hydra (in Emacs 24.5.1 on Windows 10) to create a pop-up list of directories that I often use. Selecting one of the directories in the list, using a single key, should cause it to open ...
4
votes
1answer
61 views

Why does this function work with :post but not :pre?

(defhydra windows (global-map "C-c w" :post flash-active-buffer) "window moving" ("o" other-window "other")) (make-face 'flash-active-buffer-face) (set-face-attribute 'flash-active-buffer-face ...