all repos — nixfiles @ 25cc96e57d7a97f62a986596fa9fa4d217e8eb24

System and user configuration, managed by nix and home-manager

Emacs: disable changing font size by mouse/touchpad
Alan Pearce alan@alanpearce.eu
Mon, 24 Jun 2024 18:43:36 +0200
commit

25cc96e57d7a97f62a986596fa9fa4d217e8eb24

parent

7bfa3c3cb26612bbe5e5c221c5889b9045baa072

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -90,6 +90,10 @@ 'none                                                    original-stimmung-themes-string))
                     (load-theme current-theme :noconfirm)))))))
 
+(global-set-key (kbd "<pinch>") 'ignore)
+(global-set-key (kbd "<C-wheel-up>") 'ignore)
+(global-set-key (kbd "<C-wheel-down>") 'ignore)
+
 (setq font-lock-maximum-decoration '((t . 1))
       jit-lock-stealth-time 1.25
       jit-lock-stealth-nice 0.5