Close tags automatically in org mode

This commit is contained in:
coolneng 2022-10-04 09:27:41 +02:00
parent e24b160411
commit cd12d6361d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 9 additions and 0 deletions

View File

@ -135,3 +135,12 @@
org-noter-default-heading-title " ")) org-noter-default-heading-title " "))
;; Increase the latex preview size ;; Increase the latex preview size
(setq org-format-latex-options (plist-put org-format-latex-options :scale 3.0)) (setq org-format-latex-options (plist-put org-format-latex-options :scale 3.0))
;; Close tags automatically
(after! smartparens
(sp-with-modes 'org-mode
(sp-local-pair "*" "*")
(sp-local-pair "_" "_")
(sp-local-pair "/" "/")
(sp-local-pair "~" "~")
(sp-local-pair "=" "=")
(sp-local-pair "$" "$")))