feat(latex): add keybinds for compilation (#5585)

This commit is contained in:
Dominik Schrempf 2021-10-11 00:18:51 +02:00 committed by GitHub
parent 380d04f890
commit 316209ea61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,11 +102,15 @@ If no viewers are found, `latex-preview-pane' is used.")
#'lsp!))
(map! :localleader
:map latex-mode-map
:desc "View" "v" #'TeX-view)
:desc "View" "v" #'TeX-view
:desc "Compile" "c" #'TeX-command-run-all
:desc "Run a command" "m" #'TeX-command-master)
(map! :after latex
:map LaTeX-mode-map
:localleader
:desc "View" "v" #'TeX-view))
:map LaTeX-mode-map
:desc "View" "v" #'TeX-view
:desc "Compile" "c" #'TeX-command-run-all
:desc "Run a command" "m" #'TeX-command-master))
(use-package! tex-fold