diff --git a/config.org b/config.org index 84fc64c..c990b2b 100644 --- a/config.org +++ b/config.org @@ -269,6 +269,12 @@ Make cursor the width of the character it is under f.e. full width of a tab. (setq x-stretch-cursor t) #+END_SRC +** Enable auto-revert + +#+BEGIN_SRC emacs-lisp +(setq global-auto-revert-mode 1) +#+END_SRC + * Resize-mode Minor-mode to easily resize frames (works with EXWM (firefox, ...)). diff --git a/init.el b/init.el index e442e9c..fa74166 100644 --- a/init.el +++ b/init.el @@ -7,10 +7,14 @@ (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) ;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch. (defvar my-config-file (expand-file-name "config.org" user-emacs-directory)) + (defvar notes-config-file (expand-file-name "init.el" "~/projects/notes/")) (when (file-readable-p my-config-file) (org-babel-load-file (expand-file-name my-config-file))) (when (file-readable-p custom-file) (load custom-file)) + + (when (file-readable-p notes-config-file) + (load notes-config-file)) )