From 51ab820b6f5d775084726632d9733d0bbcfde497 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 13 May 2020 04:54:48 +0100 Subject: +org-fragtog-mode to org-mode-hook --- Doom/.doom.d/org/config.org | 6 ++++++ Doom/.doom.d/org/packages.org | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'Doom/.doom.d') diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index f17b160..dbd78d1 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -389,6 +389,12 @@ Setup the agenda-files and the org-directory. org-superstar-headline-bullets-list '("◉" "‣" "⧈" "⬠") org-log-repeat 'note)) #+END_SRC +*** Fragtog +#+BEGIN_SRC elisp +(use-package org-fragtog + :config + (add-hook 'org-mode-hook #'org-fragtog-mode)) +#+END_SRC *** Thesaurus Powerthesaurus installation, added a keybind in org-mode for looking up words. #+BEGIN_SRC elisp diff --git a/Doom/.doom.d/org/packages.org b/Doom/.doom.d/org/packages.org index f663c70..33e905f 100644 --- a/Doom/.doom.d/org/packages.org +++ b/Doom/.doom.d/org/packages.org @@ -32,6 +32,12 @@ Every now and then I like to use base16 themes, particularly when zen coding. #+BEGIN_SRC elisp (package! base16-theme) #+END_SRC +* Org-mode +** Fragtog +Fragtog allows for latex segments to be instantly compiled and only when you hover over them will you get the code, similar to prettify-symbols. +#+BEGIN_SRC elisp +(package! org-fragtog :recipe (:host github :repo "io12/org-fragtog")) +#+END_SRC * Coding ** Tags Should really be an inbuilt feature for Ivy, as it is so damn useful. Better -- cgit v1.2.3-13-gbd6f