Move hydra bindings to init.el, make C-, (hydra-mc) not be overridden
This commit is contained in:
parent
7d2754c535
commit
fdac9f03fc
@ -82,9 +82,3 @@ word: _w_: 1 char _W_: 0 char"
|
|||||||
("w" avy-goto-word-1)
|
("w" avy-goto-word-1)
|
||||||
("W" avy-goto-word-0)
|
("W" avy-goto-word-0)
|
||||||
("q" nil))
|
("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)
|
|
||||||
|
@ -302,7 +302,12 @@
|
|||||||
(use-package hydra :ensure
|
(use-package hydra :ensure
|
||||||
:config
|
:config
|
||||||
;config is in separate file because it is really big
|
;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)
|
(use-package multiple-cursors :ensure)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user