Commit bb90abb8f8fb
Changed files (2)
lisp/setup-multiple-cursors.el
@@ -1,12 +1,8 @@
-;;; setup-multiple-cursors.el --- setup multiple cursors -*- lexical-binding: t; -*-
-;;; Commentary:
-;;; Code:
-
(use-package multiple-cursor
:bind (:map vde-mode-map
("C-S-c C-S-c" . mc/edit-lines))
:bind (:map region-bindings-mode-map
- ("a" . mc/mark-all-like-this)
+ ("a" . mc/mark-all-like-this)
("p" . mc/mark-previous-like-this)
("n" . mc/mark-next-like-this)
("P" . mc/unmark-previous-like-this)
@@ -21,8 +17,3 @@
("$" . mc/edit-ends-of-lines)))
(provide 'setup-multiple-cursors)
-
-;; Local Variables:
-;; coding: utf-8
-;; indent-tabs-mode: nil
-;; End:
emacs.org
@@ -1766,6 +1766,33 @@
(provide 'setup-keybindings)
#+end_src
+*** ~setup-multiple-cursor.el~
+:PROPERTIES:
+:CUSTOM_ID: h:462c3e34-87b1-4c1a-b388-e698c057f15e
+:END:
+
+#+begin_src emacs-lisp :tangle lisp/setup-multiple-cursors.el
+ (use-package multiple-cursor
+ :bind (:map vde-mode-map
+ ("C-S-c C-S-c" . mc/edit-lines))
+ :bind (:map region-bindings-mode-map
+ ("a" . mc/mark-all-like-this)
+ ("p" . mc/mark-previous-like-this)
+ ("n" . mc/mark-next-like-this)
+ ("P" . mc/unmark-previous-like-this)
+ ("N" . mc/unmark-next-like-this)
+ ("[" . mc/cycle-backward)
+ ("]" . mc/cycle-forward)
+ ("m" . mc/mark-more-like-this-extended)
+ ("h" . mc-hide-unmatched-lines-mode)
+ ("\\" . mc/vertical-align-with-space)
+ ("#" . mc/insert-numbers) ; use num prefix to set the starting number
+ ("^" . mc/edit-beginnings-of-lines)
+ ("$" . mc/edit-ends-of-lines)))
+
+ (provide 'setup-multiple-cursors)
+#+end_src
+
*** ~setup-navigating.el~
:PROPERTIES:
:CUSTOM_ID: h:c5ec18c7-1153-451c-b472-33b55f1bba77