Key bindings for latex preview
This commit is contained in:
parent
2ee9e3759c
commit
68d1a45034
1 changed files with 5 additions and 1 deletions
|
@ -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)))
|
(lambda () (* (/ 10.0 (preview-document-pt)) preview-scale)))
|
||||||
;; Don't cache preamble, it creates issues with synctex. Let users enable
|
;; Don't cache preamble, it creates issues with synctex. Let users enable
|
||||||
;; caching if they have compilation times that long.
|
;; 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
|
(use-package! cdlatex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue