From 5984ca324a983c9f483d11be9e88ac50148f21db Mon Sep 17 00:00:00 2001 From: earnest ma Date: Thu, 20 Oct 2022 09:39:01 -0400 Subject: [PATCH] doom: Enable LaTeX, show project in modeline --- doom/.config/doom/+ui.el | 7 ++++++- doom/.config/doom/init.el | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doom/.config/doom/+ui.el b/doom/.config/doom/+ui.el index c36add9..3b4542d 100644 --- a/doom/.config/doom/+ui.el +++ b/doom/.config/doom/+ui.el @@ -22,7 +22,8 @@ ;; From Tecosaur's config: hide encoding in modeline if usual (defun doom-modeline-conditional-buffer-encoding () - "We expect the encoding to be LF UTF-8, so only show the modeline when this is not the case" + "We expect the encoding to be LF UTF-8, so only show the modeline +when this is not the case" (setq-local doom-modeline-buffer-encoding (unless (and (memq (plist-get (coding-system-plist buffer-file-coding-system) :category) '(coding-category-undecided coding-category-utf-8)) @@ -30,6 +31,10 @@ t))) (add-hook 'after-change-major-mode-hook #'doom-modeline-conditional-buffer-encoding) +;; https://github.com/doomemacs/doomemacs/issues/314 +(after! doom-modeline + (setq doom-modeline-persp-name t)) + ;; Also from Tecosaur's config (modified slightly): better window title (setq frame-title-format '("" diff --git a/doom/.config/doom/init.el b/doom/.config/doom/init.el index d8de998..37994b0 100644 --- a/doom/.config/doom/init.el +++ b/doom/.config/doom/init.el @@ -144,7 +144,7 @@ ;;javascript ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) - ;;latex ; writing papers in Emacs has never been so fun + latex ; writing papers in Emacs has never been so fun ;;lean ; for folks with too much to prove ;;ledger ; be audit you can be ;;lua ; one-based indices? one-based indices