More improvements to hydra-mc

This commit is contained in:
Adam Goldsmith 2015-09-17 21:43:02 -04:00
parent bd95466330
commit 835af516f1

View File

@ -40,16 +40,28 @@
("t" todotxt-open-file "open todotxt") ("t" todotxt-open-file "open todotxt")
("q" nil)) ("q" nil))
(defhydra hydra-mc (:hint nil :columns 3) (defhydra hydra-mc (:hint nil)
"Multiple Cursors" "
("a" mc/mark-all-dwim "mark all dwim") Mark Bulk: _a_ll _s_ymbols _r_egex
("s" mc/mark-all-symbols-like-this "mark all dwim") Edit: _l_ines _e_nds
("l" mc/edit-lines "edit lines") Misc: _n_umbers _S_ort
("e" mc/edit-ends-of-lines "edit ends of lines") Mark (+S=unmark): _<up>_:prev _<down>_:next _<left>_:skip prev _<right>_:skip next "
("<down>" mc/mark-next-like-this "mark next like this") ("a" mc/mark-all-dwim)
("<up>" mc/mark-previous-like-this "mark prev like this") ("s" mc/mark-all-symbols-like-this)
("S-<down>" mc/unmark-previous-like-this "mark prev like this") ("r" mc/mark-all-in-region-regexp)
("S-<up>" mc/unmark-next-like-this "mark next like this"))
("l" mc/edit-lines)
("e" mc/edit-ends-of-lines)
("n" mc/insert-numbers)
("S" mc/sort-regions)
("<down>" mc/mark-next-like-this)
("<up>" mc/mark-previous-like-this)
("S-<down>" mc/unmark-previous-like-this)
("S-<up>" mc/unmark-next-like-this)
("<right>" mc/skip-to-next-like-this)
("<left>" mc/skip-to-previous-like-this))
(defhydra hydra-avy (:hint nil :color blue) (defhydra hydra-avy (:hint nil :color blue)
" "