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")
("q" nil))
(defhydra hydra-mc (:hint nil :columns 3)
"Multiple Cursors"
("a" mc/mark-all-dwim "mark all dwim")
("s" mc/mark-all-symbols-like-this "mark all dwim")
("l" mc/edit-lines "edit lines")
("e" mc/edit-ends-of-lines "edit ends of lines")
("<down>" mc/mark-next-like-this "mark next like this")
("<up>" mc/mark-previous-like-this "mark prev like this")
("S-<down>" mc/unmark-previous-like-this "mark prev like this")
("S-<up>" mc/unmark-next-like-this "mark next like this"))
(defhydra hydra-mc (:hint nil)
"
Mark Bulk: _a_ll _s_ymbols _r_egex
Edit: _l_ines _e_nds
Misc: _n_umbers _S_ort
Mark (+S=unmark): _<up>_:prev _<down>_:next _<left>_:skip prev _<right>_:skip next "
("a" mc/mark-all-dwim)
("s" mc/mark-all-symbols-like-this)
("r" mc/mark-all-in-region-regexp)
("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)
"