Enable Global Auto Revert Mode

- Auto revert buffers for changed files
This commit is contained in:
Sravan Balaji
2022-05-19 07:41:12 -04:00
parent 381ae07bc3
commit 7f0e5c606a
2 changed files with 11 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
- [[#prettier-formatter][Prettier Formatter]]
- [[#cdlatex][CDLaTeX]]
- [[#file-extension-mode-association][File Extension Mode Association]]
- [[#automatically-revert-buffers-for-changed-files][Automatically revert buffers for changed files]]
- [[#packagesel][packages.el]]
- [[#packages][Packages]]
@@ -444,6 +445,14 @@ If you use =org= and don't want your org files in the default location below, ch
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
#+END_SRC
*** Automatically revert buffers for changed files
Revert buffers when the underlying file has changed
#+BEGIN_SRC emacs-lisp :tangle config.el
(global-auto-revert-mode 1)
#+END_SRC
** packages.el
To install a package with Doom you must declare them here and run =doom sync= on the command line, then restart Emacs for the changes to take effect -- or use =M-x doom/reload=.

View File

@@ -48,3 +48,5 @@
:i "TAB" #'cdlatex-tab)
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
(global-auto-revert-mode 1)