summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-06-01 20:03:05 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-06-01 20:03:05 +0200
commit9a26190373ee18312a8d74582713ee54c0299029 (patch)
treec9e5179c6ad1738f2483ba13cab3033d63e8e3e2
parent61fce1c5b14e61569a6422faed392338e07eba02 (diff)
Automatically update buffers when files and directories are updated externally
-rw-r--r--init.el5
1 files changed, 4 insertions, 1 deletions
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")