summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-23 20:51:14 +0100
committerjao <jao@gnu.org>2022-08-23 20:51:31 +0100
commitc64b486005f22004de357ee7d63adf3bb943685d (patch)
treedad76795f4062bf1ef79cd292bb6d60b21bb4afc
parenta73b4d34d50757803b0c55fcb772c5ce7b3740bf (diff)
downloadelibs-c64b486005f22004de357ee7d63adf3bb943685d.tar.gz
elibs-c64b486005f22004de357ee7d63adf3bb943685d.tar.bz2
disable-mouse
-rw-r--r--init.el19
1 files changed, 4 insertions, 15 deletions
diff --git a/init.el b/init.el
index 20ddff0..a3220c9 100644
--- a/init.el
+++ b/init.el
@@ -516,21 +516,10 @@
("poof" "power-off" jao-poweroff)])
;;;; mouse
-(dolist (k '([mouse-3]
- [down-mouse-3]
- [drag-mouse-3]
- [double-mouse-3]
- [mouse-4]
- [down-mouse-4]
- [drag-mouse-4]
- [double-mouse-4]
- [triple-mouse-4]
- [mouse-5]
- [down-mouse-5]
- [drag-mouse-5]
- [double-mouse-5]
- [triple-mouse-5]))
- (global-unset-key k))
+(use-package disable-mouse
+ :ensure t)
+
+(global-disable-mouse-mode)
;;;; X clipboard
(setq select-enable-clipboard t