2 Commits b97a3fc675 ... ead2cfc961

Author SHA1 Message Date
  Emilia L.K. Blåsten ead2cfc961 Use xenops for org-mode 6 months ago
  Emilia L.K. Blåsten aa6fd0b056 Use Olivetti in latex modes 6 months ago
1 changed files with 8 additions and 1 deletions
  1. 8 1
      emacs

+ 8 - 1
emacs

@@ -126,7 +126,10 @@
 ;; ((nil . ((fill-column . 80)
 ;;         (mode . olivetti))))
 ;; inside a folder's .dir-locals.el to use olivetti for all files there
-(use-package olivetti :ensure t)
+(use-package olivetti
+  :ensure t
+  :hook
+  ((latex-mode LaTeX-mode) . olivetti-mode))
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 
@@ -281,6 +284,10 @@
                                          (string-to-char TeX-esc)
                                          "w"
                                          LaTeX-mode-syntax-table))))
+(use-package xenops
+  :ensure t
+  :hook
+  (org-mode . xenops-mode))
 (use-package reftex
   :ensure t
   :hook