summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-23 18:52:15 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-23 19:08:23 -0500
commit1bbc615cc0caa3b5069bc058fccea2427ae9f865 (patch)
treec22d64cdfa94f3156b348e344e324a2f082fc321
parent64e429b5d6faf5ae87a832153347d261b8d03583 (diff)
downloadconfigs-1bbc615cc0caa3b5069bc058fccea2427ae9f865.tar.gz
configs-1bbc615cc0caa3b5069bc058fccea2427ae9f865.tar.xz
configs-1bbc615cc0caa3b5069bc058fccea2427ae9f865.zip
[emacs] use the C-c m prefix for multiple-cursors
-rw-r--r--init.org16
1 files changed, 9 insertions, 7 deletions
diff --git a/init.org b/init.org
index 536e25d..4c6b9cb 100644
--- a/init.org
+++ b/init.org
@@ -1897,11 +1897,14 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
#+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)))
+ :bind
+ (("C-S-<mouse-1>" . mc/add-cursor-on-click)
+ (:prefix-map a/mc-prefix-map
+ :prefix "C-c m"
+ ("c" . mc/edit-lines)
+ ("n" . mc/mark-next-like-this)
+ ("p" . mc/mark-previous-like-this)
+ ("a" . mc/mark-all-like-this))))
#+end_src
* Email
@@ -1924,8 +1927,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
read-mail-command 'gnus)
(use-package gnus
- :bind (("C-c m" . gnus)
- ("s-m" . gnus)
+ :bind (("s-m" . gnus)
("s-M" . gnus-unplugged))
:init
(setq