This commit is contained in:
Zelong Kuang
2026-04-02 15:31:43 +11:00
parent a416bffb54
commit abaeeb6486
22 changed files with 23 additions and 204 deletions

View File

@@ -86,6 +86,10 @@
org-faces org-entities org-list org-pcomplete org-src
org-footnote org-macro ob org org-clock org-agenda
org-capture))
(add-hook 'org-mode-hook
(lambda ()
(yas-activate-extra-mode 'LaTeX-mode)))
;; For hydra
(defun hot-expand (str &optional mod)
"Expand org template.
@@ -209,10 +213,6 @@ the element after the #+HEADER: tag."
("BUG" error bold)
("XXX" font-lock-constant-face bold))))
(add-hook 'org-mode-hook
(lambda ()
(yas-activate-extra-mode 'LaTeX-mode)))
(use-package org-latex-preview
:straight nil
:hook (org-mode . org-latex-preview-mode)