diff options
| -rw-r--r-- | jakob.org | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1022,7 +1022,7 @@ Emacs starts. #+BEGIN_SRC elisp (use-package org :straight nil - :requires counsel + :requires (counsel yasnippet) :demand t :init (setq-default org-id-locations-file "~/.cache/emacs/org-id-locations") @@ -1080,6 +1080,13 @@ Scale up embedded LaTeX so that I can actually read it. (plist-put org-format-latex-options :scale 1.5)) #+END_SRC +Enable [[Yasnippet]]. + +#+BEGIN_SRC elisp + :hook + (org-mode . yas-minor-mode-on) +#+END_SRC + Replace my [[Imenu]] binding with =org-goto=, as it allows me to select headings with subheadings. Keybindings for working with my Org workflow from anywhere are also here, since =use-package= doesn't like split =:bind= declarations. @@ -1543,14 +1550,7 @@ Load all snippets when =yas-minor-mode= is enabled. #+BEGIN_SRC elisp (use-package yasnippet :hook - (yas-minor-mode . yas-reload-all) -#+END_SRC - -Enable Yasnippet for [[Org]]. - -#+BEGIN_SRC elisp - :hook - (org-mode . yas-minor-mode-on)) + (yas-minor-mode . yas-reload-all)) #+END_SRC * Pretty Symbols |