This commit is contained in:
Zelong Kuang
2025-12-22 15:57:17 +11:00
parent 228fe66540
commit 30fcd61417
5 changed files with 17 additions and 4 deletions

View File

@@ -33,7 +33,13 @@
:ensure t :ensure t
:hook (LaTeX-mode . turn-on-cdlatex) :hook (LaTeX-mode . turn-on-cdlatex)
:bind (:map cdlatex-mode-map :bind (:map cdlatex-mode-map
("<tab>" . cdlatex-tab))) ("<tab>" . cdlatex-tab))
:config
(setq cdlatex-math-symbol-alist '((?f ("\\varphi" "\\phi"))
(?i ("\\iota"))
))
(setq cdlatex-math-modify-alist '((?f "\\mathbb" nil t nil nil)))
(cdlatex-reset-mode))
(use-package texpresso (use-package texpresso
:defer nil :defer nil

View File

@@ -19,7 +19,7 @@
(use-package ace-window (use-package ace-window
:hook (emacs-startup . ace-window-display-mode) :hook (emacs-startup . ace-window-display-mode)
:bind (([remap other-window] . ace-window) :bind (([remap other-window] . ace-window)
("C-c C-w" . ace-window-hydra/body)) ("C-c w" . ace-window-hydra/body))
:pretty-hydra :pretty-hydra
(("Actions" (("Actions"
(("TAB" other-window "switch") (("TAB" other-window "switch")

View File

@@ -3,7 +3,7 @@
(use-package persp-mode (use-package persp-mode
:hook (elpaca-after-init . persp-mode) :hook (elpaca-after-init . persp-mode)
:custom :custom
(persp-mode-prefix-key "w") (persp-mode-prefix-key "o")
:config :config
(setq wg-morph-on nil) (setq wg-morph-on nil)
(setq persp-autokill-buffer-on-remove 'kill-weak)) (setq persp-autokill-buffer-on-remove 'kill-weak))

7
snippets/latex-mode/ker Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: arctan
# key: ker
# group: math
# condition: (and (texmathp) 'auto)
# --
\\ker

View File

@@ -1,6 +1,6 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: to # name: to
# key: -> # key: to
# condition: (and (texmathp) 'auto) # condition: (and (texmathp) 'auto)
# group: math # group: math
# -- # --