]> git.earman.xyz Git - emacsinit.git/commitdiff
Scrollbar and cursors
authorrearman <rearman@r717.net>
Fri, 1 May 2026 21:12:25 +0000 (17:12 -0400)
committerrearman <rearman@r717.net>
Fri, 1 May 2026 21:12:25 +0000 (17:12 -0400)
disable the ugly scrollbar in windows, and make it so the cursor is only
visible on the active window.

init.el

diff --git a/init.el b/init.el
index 9c8d330b1d414932353f2187f8e129919ad94366..522d45c04921f1d803b7fdd999182ac387bf3bb6 100644 (file)
--- a/init.el
+++ b/init.el
@@ -497,7 +497,7 @@ Start from bottom if given a negative line number."
 (load-theme 'eng-paper t)
 (menu-bar-mode -1)
 (tool-bar-mode -1)
-(set-scroll-bar-mode 'left)
+(set-scroll-bar-mode (if (eq system-type 'windows-nt) nil 'left))
 
 (setq frame-title-format "%b"
       mouse-prefer-closest-glyph t
@@ -507,6 +507,7 @@ Start from bottom if given a negative line number."
       mouse-autoselect-window -0.25)
 
 (setq-default cursor-type 'hbar
+             cursor-in-non-selected-windows nil
              mode-line-format
              '("%e"
                (:eval (propertize "  "