From 9a26190373ee18312a8d74582713ee54c0299029 Mon Sep 17 00:00:00 2001 From: LLoyderino Date: Sun, 1 Jun 2025 20:03:05 +0200 Subject: Automatically update buffers when files and directories are updated externally --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 4818fc0..4b1789d 100644 --- a/init.el +++ b/init.el @@ -21,7 +21,10 @@ ;; Better defaults (use-package better-defaults) -(setq read-process-output-max (* 1024 1024 4)) +(setq read-process-output-max (* 1024 1024 4)) ; Increase garbage collection threshold + +(global-auto-revert-mode 1) ; Update files changed externally +(setq global-auto-revert-non-file-buffers t) ; Update dired when directory changes ;; Catppuccin theme (load "~/.emacs.d/theme.el") -- cgit v1.3.1