diff options
| author | Craig Jennings <c@cjennings.net> | 2025-09-02 22:53:28 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-09-02 22:53:28 -0500 |
| commit | 35b4fdcd3e94a19cc47d31974e37e5c87ff40c3f (patch) | |
| tree | 69db41c0a0d36a3d8f85e615d6d8b84e710cfff2 /modules/system-defaults.el | |
| parent | 43bfa3933844ecb16fc032373232d160bb655130 (diff) | |
| download | dotemacs-35b4fdcd3e94a19cc47d31974e37e5c87ff40c3f.tar.gz dotemacs-35b4fdcd3e94a19cc47d31974e37e5c87ff40c3f.zip | |
move all disable mouse code to test and begin mousetrap mode
Diffstat (limited to 'modules/system-defaults.el')
| -rw-r--r-- | modules/system-defaults.el | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/modules/system-defaults.el b/modules/system-defaults.el index 7aa07eee..2e7db0bb 100644 --- a/modules/system-defaults.el +++ b/modules/system-defaults.el @@ -1,4 +1,4 @@ -;;; system-defaults --- Emacs Non-UI Preferences -*- lexical-binding: t; -*- +;;; system-defaults --- Emacs Non-UI Preferences -*- lexical-binding: t; coding: utf-8-unix; -*- ;; author: Craig Jennings <c@cjennings.net> ;;; Commentary: @@ -139,20 +139,6 @@ Return non-nil to indicate the warning was handled." (global-unset-key (kbd "<pinch>")) (global-set-key [remap mouse-wheel-text-scale] 'cj/disabled) -;; disabling mouse prevents accidental mouse moves modifying text -(use-package inhibit-mouse - :demand t ;; run immediately - :hook (after-init . inhibit-mouse-mode) - :custom - (inhibit-mouse-adjust-mouse-highlight t) - (inhibit-mouse-adjust-show-help-function t) - :bind - ("C-c M-m" . inhibit-mouse-mode) ;; toggle with C-c M-m - :config - (if (daemonp) - (add-hook 'server-after-make-frame-hook #'inhibit-mouse-mode) - (inhibit-mouse-mode 1))) - ;; ------------------------------- Be Quiet(er)! ------------------------------- ;; reduces "helpful" instructions that distract Emacs power users. |
