doom: Enable LaTeX, show project in modeline

This commit is contained in:
earnest ma 2022-10-20 09:39:01 -04:00
parent 47c019dbde
commit 5984ca324a
No known key found for this signature in database
GPG Key ID: A343F43342EB6E2A
2 changed files with 7 additions and 2 deletions

View File

@ -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
'(""

View File

@ -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