From 94acbb622c0cb3a4f8688bc63a0429e71d3d2575 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 8 Feb 2025 07:52:10 -0500 Subject: [PATCH] add hl-line defaults --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index c3e3fe1..94ba5b4 100644 --- a/init.el +++ b/init.el @@ -503,4 +503,11 @@ ;; Disable wrapping around when navigating Flymake errors. (setq flymake-wrap-around nil) +;;; hl-line-mode + +;; Restrict `hl-line-mode' highlighting to the current window, reducing visual +;; clutter and slightly improving `hl-line-mode' performance. +(setq hl-line-sticky-flag nil) +(setq global-hl-line-sticky-flag nil) + ;;; init.el ends here