feat: tex insert dollar, and cdlatex math symbols

This commit is contained in:
Flinner Yuu 2022-04-06 17:35:49 +03:00
parent d349d91865
commit 045b1c8bd3
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 3 additions and 1 deletions

View File

@ -1795,7 +1795,8 @@ AucTex
;; I only defined \(\) lol
(setq TeX-electric-math (quote ("\\(" . "\\)")))
(evil-define-key 'visual 'LaTeX-mode-map
"$" 'TeX-insert-dollar)
"$" 'TeX-insert-dollar
"'" 'cdlatex-math-modify)
;; (setq TeX-auto-save t)
(setq TeX-parse-self t)
@ -2356,3 +2357,4 @@ Breaking change betweeen =mu4e-alert= and =mu= :(
#+end_src