-
Notifications
You must be signed in to change notification settings - Fork 1
/
my-hydra.el
38 lines (33 loc) · 876 Bytes
/
my-hydra.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
;;; my-hydra --- Hydra configurations
;;
;; Copyright (C) 2014 Alex Bennée
;;
;; Author: Alex Bennée <[email protected]>
;;
;; This file is not part of GNU Emacs.
;;
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;;
;;; Commentary:
;;
;; This really just configures hydra. Actual hydras should be defined
;; in the respective modules. You can wrap the defhydra with a:
;;
;; (with-eval-after-load 'hydra
;; (global-set-key
;; (kbd "C-c C-o")
;; ...)
;;
;;; Code:
;; Require prerequisites
(eval-when-compile (require 'use-package))
(use-package hydra
:ensure t
:commands defhydra)
(use-package use-package-hydra
:ensure t)
(provide 'my-hydra)
;;; my-hydra.el ends here