]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
Use M-mouse1 to add cursors to multicursor
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 7 Oct 2016 05:56:49 +0000 (07:56 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 7 Oct 2016 05:56:49 +0000 (07:56 +0200)
bba.org

diff --git a/bba.org b/bba.org
index 2d8c58b197cc3634e920a60d8872da38e882d9b8..39a74a57831fe37c54c25f1f6c2195eb66b39a05 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -2468,6 +2468,8 @@ function to convert groups of spaces to hard tabs.
 
   (define-key bba/multiple-cursors "e" 'mc/edit-lines)
   (define-key bba/multiple-cursors "m" 'mc/mark-all-like-this)
+  (global-unset-key (kbd "M-<down-mouse-1>"))
+  (global-set-key (kbd "M-<mouse-1>") 'mc/add-cursor-on-click)
   (define-key global-map "\C-c\C-t" 'insert-timestamp)
   (define-key global-map "\C-c\M-c" 'centered-cursor-mode)