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,16 +1643,18 @@ 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
("t" . mc/mark-all-like-this) (:map gpolonkai/mc-prefix-map
("m" . mc/mark-all-like-this-dwim) ("t" . mc/mark-all-like-this)
("l" . mc/edit-lines) ("m" . mc/mark-all-like-this-dwim)
("e" . mc/edit-ends-of-lines) ("l" . mc/edit-lines)
("a" . mc/edit-beginnings-of-lines) ("e" . mc/edit-ends-of-lines)
("n" . mc/mark-next-like-this) ("a" . mc/edit-beginnings-of-lines)
("p" . mc/mark-previous-like-this) ("n" . mc/mark-next-like-this)
("s" . mc/mark-sgml-tag-pair) ("p" . mc/mark-previous-like-this)
("d" . mc/mark-all-like-this-in-defun))) ("s" . mc/mark-sgml-tag-pair)
("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