Compare commits

...

2 commits

2 changed files with 10 additions and 0 deletions

View file

@ -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) (setq x-stretch-cursor t)
#+END_SRC #+END_SRC
** Enable auto-revert
#+BEGIN_SRC emacs-lisp
(setq global-auto-revert-mode 1)
#+END_SRC
* Resize-mode * Resize-mode
Minor-mode to easily resize frames (works with EXWM (firefox, ...)). Minor-mode to easily resize frames (works with EXWM (firefox, ...)).

View file

@ -7,10 +7,14 @@
(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (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. ;; 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 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) (when (file-readable-p my-config-file)
(org-babel-load-file (expand-file-name my-config-file))) (org-babel-load-file (expand-file-name my-config-file)))
(when (file-readable-p custom-file) (when (file-readable-p custom-file)
(load custom-file)) (load custom-file))
(when (file-readable-p notes-config-file)
(load notes-config-file))
) )