From 27f237397a515454c44100eda629fac1cbbabdd6 Mon Sep 17 00:00:00 2001 From: kj Date: Thu, 11 Jun 2026 08:14:29 -0300 Subject: [PATCH] feat(config): enable global auto-revert mode Configure Emacs to automatically reload files and dired buffers when they are changed on disk. --- configs/init-base.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/init-base.el b/configs/init-base.el index d0ecd09..b8e6f60 100644 --- a/configs/init-base.el +++ b/configs/init-base.el @@ -80,6 +80,10 @@ line-move-visual nil track-eol t ; Keep cursor at end of lines. Require line-move-visual is nil. set-mark-command-repeat-pop t) ; Repeating C-SPC after popping mark pops it again + ;; Automatically reload files changed on disk + (global-auto-revert-mode 1) ;; buffers + (setq global-auto-revert-non-file-buffers t) ;; dired + ;; auto-revert-verbose nil) ;; disable notifications ;; Visualize TAB, (HARD) SPACE, NEWLINE (setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default cursor-type 'bar) ; Usar la barrita como cursor