From 6c15d1483fac97c8e6d86bdd15b9a9aef57bd510 Mon Sep 17 00:00:00 2001 From: Daneel Date: Fri, 20 Feb 2026 10:49:18 +0100 Subject: [PATCH] fix: disable centered-cursor-mode, focus-follows-mouse, increase idle timers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - centered-cursor-mode OFF (hlavní příčina skákání s macOS Zoom) - mouse-autoselect-window + focus-follows-mouse OFF (konflikt s Zoom focus follower) - auto-save idle timer: 5s → 30s (méně redraws) - corfu-auto-delay: 0.15 → 0.5 (méně popup blikání) --- config.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/config.el b/config.el index 58d8639..55b3704 100644 --- a/config.el +++ b/config.el @@ -13,8 +13,8 @@ ;; -------------------------------------------------- ;; macOS / UX ;; -------------------------------------------------- -(setq mouse-autoselect-window t - focus-follows-mouse t +(setq mouse-autoselect-window nil + focus-follows-mouse nil select-enable-clipboard t select-enable-primary t inhibit-splash-screen t) @@ -392,14 +392,16 @@ (setq auto-save-default nil) ;; zruší #file# bordel (defun my/save-all-buffers () (save-some-buffers t)) -(run-with-idle-timer 5 t #'my/save-all-buffers) +(run-with-idle-timer 30 t #'my/save-all-buffers) ;; centered cursor mode (use-package! centered-cursor-mode :config (setq ccm-vpos-init 0.5) ;; 0.5 = střed okna - (global-centered-cursor-mode +1)) + ;; VYPNUTO — koliduje s macOS Zoom focus follower (způsobuje skákání obrazu) + ;; (global-centered-cursor-mode +1) + ) @@ -646,7 +648,7 @@ (after! corfu ;; automatické completions (setq corfu-auto t - corfu-auto-delay 0.15 + corfu-auto-delay 0.5 corfu-auto-prefix 2 ;; cyklování kandidátů @@ -668,7 +670,7 @@ ;;; Corfu (after! corfu (setq corfu-auto t - corfu-auto-delay 0.15 + corfu-auto-delay 0.5 corfu-auto-prefix 2 corfu-cycle t) (global-corfu-mode))