This commit is contained in:
Zelong Kuang
2026-02-08 23:44:31 +11:00
parent 7a36bc79fc
commit 0fa71217ac
3 changed files with 8 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
(TeX-PDF-mode t)
(TeX-DVI-via-PDFTeX t)
:config
(setq-default TeX-command-default "LaTeXMk")
;; Format math as a Latex string with Calc
(add-hook 'LaTeX-mode-hook #'eglot-ensure)
(defun latex-math-from-calc ()

View File

@@ -32,6 +32,10 @@
(grep-apply-setting
'grep-find-template "rg --color=auto --null -nH --no-heading -e <R> <D>")))
(use-package pdf-tools)
(use-package pdf-tools
:init
(pdf-tools-install))
(provide 'init-utils)

View File

@@ -10,6 +10,7 @@
:hook (elpaca-after-init . tabspaces-mode)
:bind (:map tabspaces-mode-map
([remap project-switch-project] . tabspaces-open-or-create-project-and-workspace))
:custom
(tab-bar-show nil)
@@ -20,7 +21,7 @@
(tabspaces-exclude-buffers '("*eat*" "*vterm*" "*shell*" "*eshell*"))
;; sessions
(tabspaces-session t)
(tabspaces-session-auto-restore t)
;; (tabspaces-session-auto-restore t)
(tabspaces-keymap-prefix "C-c o")
(tab-bar-new-tab-choice "default"))