From f352d853ef58737f5f32e3233c93d0a00606e07f Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 12 Mar 2025 09:10:17 -0400 Subject: [PATCH] Add help-window-select and next-error-recenter --- init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.el b/init.el index dc743a1..2241039 100644 --- a/init.el +++ b/init.el @@ -94,6 +94,10 @@ compilation-ask-about-save nil compilation-scroll-output 'first-error) +;; Recenter to the middle of the window for `compile-goto-error', which is also +;; used by `wgrep' and `embark-export'. +(setq next-error-recenter '(4)) + ;;; Misc (setq whitespace-line-column nil) ; whitespace-mode @@ -414,6 +418,8 @@ ;;; Help +(setq help-window-select t) ;; Focus new help windows when opened + ;; Enhance `apropos' and related functions to perform more extensive searches (setq apropos-do-all t)