summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitmodules3
-rw-r--r--init.org12
m---------lib/multiple-cursors0
3 files changed, 13 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index 2e96608..69acabf 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -184,6 +184,9 @@
[submodule "multi-term"]
path = lib/multi-term
url = git@github.com:emacsorphanage/multi-term.git
+[submodule "multiple-cursors"]
+ path = lib/multiple-cursors
+ url = git@github.com:magnars/multiple-cursors.el.git
[submodule "mwim"]
path = lib/mwim
url = git@github.com:alezost/mwim.el.git
diff --git a/init.org b/init.org
index 2bd523e..536e25d 100644
--- a/init.org
+++ b/init.org
@@ -1893,7 +1893,16 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
:bind ("C-=" . er/expand-region))
#+end_src
-** TODO multiple-cursors
+** multiple-cursors
+
+#+begin_src emacs-lisp
+(use-package multiple-cursors
+ :bind (("C-c M c" . mc/edit-lines)
+ ("C-c M n" . mc/mark-next-like-this)
+ ("C-c M p" . mc/mark-previous-like-this)
+ ("C-c M a" . mc/mark-all-like-this)
+ ("C-S-<mouse-1>" . mc/add-cursor-on-click)))
+#+end_src
* Email
:PROPERTIES:
@@ -1916,7 +1925,6 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
(use-package gnus
:bind (("C-c m" . gnus)
- ("C-c M" . gnus-unplugged)
("s-m" . gnus)
("s-M" . gnus-unplugged))
:init
diff --git a/lib/multiple-cursors b/lib/multiple-cursors
new file mode 160000
+Subproject 6a7c3c0853e3fe9e4b8e5985dbed8fd4075f33f