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:
@@ -80,6 +80,10 @@
|
|||||||
line-move-visual nil
|
line-move-visual nil
|
||||||
track-eol t ; Keep cursor at end of lines. Require line-move-visual is 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
|
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
|
;; Visualize TAB, (HARD) SPACE, NEWLINE
|
||||||
(setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default
|
(setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default
|
||||||
cursor-type 'bar) ; Usar la barrita como cursor
|
cursor-type 'bar) ; Usar la barrita como cursor
|
||||||
|
|||||||
Reference in New Issue
Block a user