From: Amin Bandali Date: Sun, 23 Dec 2018 23:52:15 +0000 (-0500) Subject: [emacs] use the C-c m prefix for multiple-cursors X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/1bbc615cc0caa3b5069bc058fccea2427ae9f865?ds=sidebyside;hp=-c [emacs] use the C-c m prefix for multiple-cursors --- 1bbc615cc0caa3b5069bc058fccea2427ae9f865 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