Add mouse binding for multiple-cursors

This commit is contained in:
Gergely Polonkai 2019-02-26 14:23:49 +01:00
parent f65cb6842e
commit 12e54cb7d7

View File

@ -1643,7 +1643,8 @@ Because one is never enough.
:hook :hook
(multiple-cursors-mode-enabled . gpolonkai/no-blink-matching-paren) (multiple-cursors-mode-enabled . gpolonkai/no-blink-matching-paren)
(multiple-cursors-mode-disabled . gpolonkai/blink-matching-paren) (multiple-cursors-mode-disabled . gpolonkai/blink-matching-paren)
:bind (:map gpolonkai/mc-prefix-map :bind
(:map gpolonkai/mc-prefix-map
("t" . mc/mark-all-like-this) ("t" . mc/mark-all-like-this)
("m" . mc/mark-all-like-this-dwim) ("m" . mc/mark-all-like-this-dwim)
("l" . mc/edit-lines) ("l" . mc/edit-lines)
@ -1652,7 +1653,8 @@ Because one is never enough.
("n" . mc/mark-next-like-this) ("n" . mc/mark-next-like-this)
("p" . mc/mark-previous-like-this) ("p" . mc/mark-previous-like-this)
("s" . mc/mark-sgml-tag-pair) ("s" . mc/mark-sgml-tag-pair)
("d" . mc/mark-all-like-this-in-defun))) ("d" . mc/mark-all-like-this-in-defun)
("M-<mouse-1>" . mc/add-cursor-on-click)))
#+END_SRC #+END_SRC
*** Incremental search for multiple cursors *** Incremental search for multiple cursors