(doom) fixes for centaur-tabs

This commit is contained in:
qvalentin 2022-04-12 11:35:08 +02:00
parent fc29f83ea7
commit cc59038cc8
Signed by: qvalentin
GPG Key ID: C979FA1EAFCABF1C
2 changed files with 22 additions and 1 deletions

View File

@ -111,3 +111,24 @@
(if project-name (if project-name
(format "Project: %s" (expand-file-name project-name)) (format "Project: %s" (expand-file-name project-name))
centaur-tabs-common-group-name))) centaur-tabs-common-group-name)))
;; Centaur Tabs config, because the defaults are pretty ok
(setq x-underline-at-descent-line t) ;; dependency for tab-set-bar under
(setq centaur-tabs-set-bar 'under)
;; (setq centaur-tabs-style "bar")
;; (setq centaur-tabs-set-icons t)
;; Fix Centaur Tabs when changing the theme
(after! centaur-tabs
(add-hook! 'doom-load-theme-hook
(defun +tab-refresh-all-the-things-h ()
(setq centaur-tabs-active-bar
(centaur-tabs--make-xpm 'centaur-tabs-active-bar-face
2 centaur-tabs-bar-height)
centaur-tabs-background-color (face-background 'centaur-tabs-default))
(centaur-tabs-separator-reset-cache)
(centaur-tabs-init-tabsets-store)
(centaur-tabs-display-update)
(centaur-tabs-headline-match)
)))

View File

@ -55,7 +55,7 @@
(evil +everywhere); come to the dark side, we have cookies (evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding fold ; (nigh) universal code folding
;;(format +onsave) ; automated prettiness (format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys ;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim ;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once ;;multiple-cursors ; editing in many places at once