diff options
author | Amin Bandali <bandali@gnu.org> | 2018-12-23 18:52:15 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-12-23 19:08:23 -0500 |
commit | 1bbc615cc0caa3b5069bc058fccea2427ae9f865 (patch) | |
tree | c22d64cdfa94f3156b348e344e324a2f082fc321 | |
parent | 64e429b5d6faf5ae87a832153347d261b8d03583 (diff) | |
download | configs-1bbc615cc0caa3b5069bc058fccea2427ae9f865.tar.gz configs-1bbc615cc0caa3b5069bc058fccea2427ae9f865.tar.xz configs-1bbc615cc0caa3b5069bc058fccea2427ae9f865.zip |
[emacs] use the C-c m prefix for multiple-cursors
-rw-r--r-- | init.org | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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 |