doom: Enable LaTeX, show project in modeline
parent
47c019dbde
commit
5984ca324a
|
@ -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
|
||||
'(""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue