Emacs: Enable olivetti for prog-mode
This commit is contained in:
parent
01c8dd0799
commit
f636d10120
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user