Major Mode Hydra

about | blog | config | notes | github

1. Major Mode Hydra and Pretty Hydra

A pretty nice package that let's us define specific Hydra menus for specific meajor-modes in GNU/Emacs.

2. Configuration

2.1. Setup Hydra

Ensure that Hydra is configured first.

(require 'init-hydra)

2.2. Package Install

Now we can configure this package.

(use-package major-mode-hydra
  :after hydra)

2.3. Configure Major-mode Keybindings

We also want to be able to access the major-mode-hydra menu as easily as possible so let's add that to our General Leader Keybindings Definer.

(require 'init-general)
  "SPC" 'major-mode-hydra)

2.4. Feature Provide

Make sure to provide this module

(provide 'init-major-mode-hydra)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)