config-mouse.el (493B)
1 ;;; config-mouse.el --- -*- lexical-binding: t -*- 2 ;;; Commentary: 3 ;;; Mouse configuration 4 ;;; Code: 5 6 (use-package mouse 7 :unless noninteractive 8 :config 9 (setq mouse-wheel-scroll-amount 10 '(1 11 ((shift) . 5) 12 ((meta) . 0.5) 13 ((control) . text-scale))) 14 (setq make-pointer-invisible t 15 mouse-wheel-progressive-speed t 16 mouse-wheel-follow-mouse t) 17 :hook (after-init . mouse-wheel-mode)) 18 19 (provide 'config-mouse) 20 ;;; config-mouse.el ends here