add experimental hydra-mc
not really working quite right yet
This commit is contained in:
parent
edd4ffef73
commit
9901af8897
@ -40,6 +40,12 @@
|
|||||||
("t" todotxt-open-file "open todotxt")
|
("t" todotxt-open-file "open todotxt")
|
||||||
("q" nil))
|
("q" nil))
|
||||||
|
|
||||||
|
(defhydra hydra-mc (:hint nil :columns 3)
|
||||||
|
"Multiple Cursors"
|
||||||
|
("a" mc/mark-all-dwim "mark all dwim")
|
||||||
|
("l" mc/edit-lines "edit lines")
|
||||||
|
("n" mc/mark-next-like-this "mark next like this"))
|
||||||
|
|
||||||
(defhydra hydra-avy (:hint nil :color blue)
|
(defhydra hydra-avy (:hint nil :color blue)
|
||||||
"
|
"
|
||||||
char: _c_: 1 char _C_: 2 char
|
char: _c_: 1 char _C_: 2 char
|
||||||
@ -54,3 +60,4 @@ word: _w_: 1 char _W_: 0 char"
|
|||||||
(global-set-key (kbd "C-c w") 'hydra-window/body)
|
(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 s") 'hydra-shortcuts/body)
|
||||||
(global-set-key (kbd "C-c a") 'hydra-avy/body)
|
(global-set-key (kbd "C-c a") 'hydra-avy/body)
|
||||||
|
(global-set-key (kbd "C-c c") 'hydra-mc/body)
|
||||||
|
Loading…
Reference in New Issue
Block a user