]> git.earman.xyz Git - emacsinit.git/commitdiff
Unbind M-mouse for cwm/AHK compatibility
authorrearman <rearman@r717.net>
Thu, 4 Sep 2025 16:09:47 +0000 (12:09 -0400)
committerrearman <rearman@r717.net>
Thu, 4 Sep 2025 16:09:47 +0000 (12:09 -0400)
re/re-bindings.el

index d4047ed712ddcdf92cca886dce051077a35d3e31..351f78643ed3a270a80705b42a5d19c9208f3961 100644 (file)
 (keymap-global-set "C-<left>" #'shrink-window-horizontally)
 (keymap-global-set "C-<right>" #'enlarge-window-horizontally)
 
+;; Mouse
+(keymap-global-unset "M-<down-mouse-1>")
+(keymap-global-unset "M-<drag-mouse-1>")
+(keymap-global-unset "M-<mouse-1>")
+(keymap-global-unset "M-<mouse-2>")
+(keymap-global-unset "M-<mouse-3>")
+
 ;; Late files and Bookmarks
 (keymap-global-set "C-c r" #'recentf-open-files)
 (keymap-global-set "C-x r B" #'bookmark-jump-other-window)