diff --git a/.emacs.d/init-hydra.el b/.emacs.d/init-hydra.el index 970beff..c71bde7 100644 --- a/.emacs.d/init-hydra.el +++ b/.emacs.d/init-hydra.el @@ -82,9 +82,3 @@ word: _w_: 1 char _W_: 0 char" ("w" avy-goto-word-1) ("W" avy-goto-word-0) ("q" nil)) - -(global-set-key (kbd "C-c w") 'hydra-window/body) -(global-set-key (kbd "C-c s") 'hydra-shortcuts/body) -(global-set-key (kbd "C-c a") 'hydra-avy/body) -(global-set-key (kbd "C-,") 'hydra-mc/body) -(global-set-key (kbd "C-c c") 'hydra-mc-manual/body) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index db4dbbe..60d58f8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -302,7 +302,12 @@ (use-package hydra :ensure :config ;config is in separate file because it is really big - (load-file "~/.emacs.d/init-hydra.el")) + (load-file "~/.emacs.d/init-hydra.el") + :bind (("C-c w" . 'hydra-window/body) + ("C-c s" . 'hydra-shortcuts/body) + ("C-c a" . 'hydra-avy/body) + ("C-c c" . 'hydra-mc-manual/body)) + :bind* ("C-," . 'hydra-mc/body)) ; I like my binding, stop messing with it (use-package multiple-cursors :ensure)