feat(config): enable global auto-revert mode

Configure Emacs to automatically reload files and dired buffers when
they are changed on disk.
This commit is contained in:
kj
2026-06-11 08:14:29 -03:00
parent ec509018cc
commit 27f237397a

View File

@@ -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