From 1bbc615cc0caa3b5069bc058fccea2427ae9f865 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 23 Dec 2018 18:52:15 -0500 Subject: [PATCH] [emacs] use the C-c m prefix for multiple-cursors --- init.org | 16 +++++++++------- 1 file 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-" . mc/add-cursor-on-click))) + :bind + (("C-S-" . 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 -- 2.20.1