diff options
author | Alan Pearce | 2022-10-05 22:30:24 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-08 01:34:14 +0200 |
commit | 9b3795e88f398077e4be2f3949f26a22d2d6c327 (patch) | |
tree | e9f4204577be65968fabf4ab0c1c1d2917606fbf | |
parent | b0f9ab4e92ee0fbc329f9bc69702acfbb9c2bc77 (diff) | |
download | nixfiles-9b3795e88f398077e4be2f3949f26a22d2d6c327.tar.lz nixfiles-9b3795e88f398077e4be2f3949f26a22d2d6c327.tar.zst nixfiles-9b3795e88f398077e4be2f3949f26a22d2d6c327.zip |
Emacs: enable smooth scrolling on macOS
-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 5da22a7c..8bb3d7cd 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -92,6 +92,10 @@ (setq font-lock-maximum-decoration '((t . 1))) +(when (and (eq system-type 'darwin) + (fboundp #'mac-mouse-wheel-mode)) + (mac-mouse-wheel-mode +1)) + ;;; Chrome (column-number-mode +1) (use-package doom-modeline |