diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el index 8927f79..fbd131d 100644 --- a/emacs/.doom.d/init.el +++ b/emacs/.doom.d/init.el @@ -200,3 +200,6 @@ (set-face-attribute 'default nil :height 120) ;; 12pt (setq fancy-splash-image (concat doom-user-dir "splash.jpg")) + +(add-hook 'org-mode-hook 'org-fragtog-mode) +(add-hook 'org-mode-hook 'org-latex-preview) diff --git a/emacs/.doom.d/packages.el b/emacs/.doom.d/packages.el index 839b83c..1ccd0e3 100644 --- a/emacs/.doom.d/packages.el +++ b/emacs/.doom.d/packages.el @@ -48,3 +48,8 @@ ;(unpin! pinned-package another-pinned-package) ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) + +(package! fragtog :recipe + (:host github + :repo "io12/org-fragtog" + :files ("org-fragtog.el")))