diff options
author | Amin Bandali <bandali@gnu.org> | 2018-12-23 17:53:45 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-12-23 17:53:45 -0500 |
commit | 64e429b5d6faf5ae87a832153347d261b8d03583 (patch) | |
tree | a11959e8b606ce50773838b4cf8c177202d318c7 | |
parent | 0884b63b028514ff55208af9020e0dce5700e802 (diff) | |
download | configs-64e429b5d6faf5ae87a832153347d261b8d03583.tar.gz configs-64e429b5d6faf5ae87a832153347d261b8d03583.tar.xz configs-64e429b5d6faf5ae87a832153347d261b8d03583.zip |
[emacs] Assimilate multiple-cursors 1.4.0-47-g6a7c3c0
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | init.org | 12 | ||||
m--------- | lib/multiple-cursors | 0 |
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 @@ -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 |