diff options
author | Alan Pearce | 2024-06-24 18:43:36 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-25 10:33:16 +0200 |
commit | 25cc96e57d7a97f62a986596fa9fa4d217e8eb24 (patch) | |
tree | bb93850a17b6ce1948bd2e84560d6b16cbb41ea6 /user/emacs | |
parent | 7bfa3c3cb26612bbe5e5c221c5889b9045baa072 (diff) | |
download | nixfiles-25cc96e57d7a97f62a986596fa9fa4d217e8eb24.tar.lz nixfiles-25cc96e57d7a97f62a986596fa9fa4d217e8eb24.tar.zst nixfiles-25cc96e57d7a97f62a986596fa9fa4d217e8eb24.zip |
Emacs: disable changing font size by mouse/touchpad
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 15b92090..b559f843 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -90,6 +90,10 @@ 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 |