diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 4753916..4703048 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -345,6 +345,7 @@ Use Dashboard.el. First load `all-the-icons` for nicer rendering (require 'olivetti) (setq olivetti-minimum-body-width 100) (global-set-key (kbd "C-x x o") 'olivetti-mode) +(add-hook 'prog-mode-hook 'olivetti-mode) #+end_src *** Themes @@ -2568,6 +2569,5 @@ over as explained [[https://manueluberti.eu/2018/02/17/magit-bury-buffer.html][h * COMMENT Local variables ;; Local Variables: -;; eval: (olivetti-mode t) ;; eval: (add-hook 'after-save-hook '(lambda () (org-babel-tangle)) nil t) ;; End: