diff --git a/.emacs.d/init-hydra.el b/.emacs.d/init-hydra.el index 6336419..970beff 100644 --- a/.emacs.d/init-hydra.el +++ b/.emacs.d/init-hydra.el @@ -45,7 +45,7 @@ Mark Bulk: _a_ll _s_ymbols _r_egex Edit: _l_ines _e_nds Misc: _n_umbers _S_ort -Mark (+S=unmark): __:prev __:next __:skip prev __:skip next " +Mark (+S=unmark): __:prev __:next __:skip prev __:skip next" ("a" mc/mark-all-dwim) ("s" mc/mark-all-symbols-like-this) ("r" mc/mark-all-in-region-regexp) @@ -65,6 +65,13 @@ Mark (+S=unmark): __:prev __:next __:skip prev __:skip ne ("" nil)) +(defhydra hydra-mc-manual (:hint nil :foreign-keys run) + " +_SPC_: Add at point _C-g_: Abort __: Start" + ("SPC" (mc/create-fake-cursor-at-point)) + ("C-g" (multiple-cursors-mode 0) :exit t) + ("" (multiple-cursors-mode 1) :exit t)) + (defhydra hydra-avy (:hint nil :color blue) " char: _c_: 1 char _C_: 2 char @@ -79,4 +86,5 @@ word: _w_: 1 char _W_: 0 char" (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-c c") 'hydra-mc/body) +(global-set-key (kbd "C-,") 'hydra-mc/body) +(global-set-key (kbd "C-c c") 'hydra-mc-manual/body)