From 0fa71217ac8cd51ce2e1e6c7dddeb8fbc4ca3067 Mon Sep 17 00:00:00 2001 From: Zelong Kuang Date: Sun, 8 Feb 2026 23:44:31 +1100 Subject: [PATCH] Update --- lisp/init-tex.el | 1 + lisp/init-utils.el | 6 +++++- lisp/init-workspace.el | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/init-tex.el b/lisp/init-tex.el index 782aa1d..23b40ba 100644 --- a/lisp/init-tex.el +++ b/lisp/init-tex.el @@ -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 () diff --git a/lisp/init-utils.el b/lisp/init-utils.el index a09fe17..5bf7479 100644 --- a/lisp/init-utils.el +++ b/lisp/init-utils.el @@ -32,6 +32,10 @@ (grep-apply-setting 'grep-find-template "rg --color=auto --null -nH --no-heading -e "))) -(use-package pdf-tools) +(use-package pdf-tools + :init + (pdf-tools-install)) + + (provide 'init-utils) diff --git a/lisp/init-workspace.el b/lisp/init-workspace.el index 6862fa3..6aca1b2 100644 --- a/lisp/init-workspace.el +++ b/lisp/init-workspace.el @@ -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"))