Key bindings for latex preview

This commit is contained in:
yoavm448 2020-06-06 11:37:15 +03:00 committed by Yoav Marco
parent 2ee9e3759c
commit 68d1a45034

View file

@ -185,7 +185,11 @@ Math faces should stay fixed by the mixed-pitch blacklist, this is mostly for
(lambda () (* (/ 10.0 (preview-document-pt)) preview-scale)))
;; Don't cache preamble, it creates issues with synctex. Let users enable
;; caching if they have compilation times that long.
(setq preview-auto-cache-preamble nil))
(setq preview-auto-cache-preamble nil)
(map! :map LaTeX-mode-map
:localleader
:desc "Preview" "p" #'preview-at-point
:desc "Unpreview" "P" #'preview-clearout-at-point))
(use-package! cdlatex