emacs: style breadcrumb imenu face

This commit is contained in:
Jeremy Baxter 2024-07-19 13:58:09 +12:00
parent 13205c7a27
commit 5af69b94ad

View file

@ -221,6 +221,18 @@ value `italic'."
(package-install 'magit) (package-install 'magit)
(global-set-key (kbd "C-c b") 'magit-blame) (global-set-key (kbd "C-c b") 'magit-blame)
;; breadcrumbs
(package-install 'breadcrumb)
(setq breadcrumb-project-crumb-separator " ] "
breadcrumb-imenu-crumb-separator " > ")
(add-hook 'prog-mode-hook
#'(lambda ()
(setq header-line-format
'(" "
(:eval (breadcrumb-project-crumbs))
" : "
(:eval (breadcrumb-imenu-crumbs))))))
;; faces ;; faces
(require 'cus-edit) ; custom faces (require 'cus-edit) ; custom faces
(let (let
@ -255,7 +267,8 @@ value `italic'."
(info-xref :inherit link (info-xref :inherit link
:background "#181825" :background "#181825"
:foreground ,accent) :foreground ,accent)
(anzu-mode-line :foreground ,accent)))) (anzu-mode-line :foreground ,accent)
(breadcrumb-imenu-leaf-face :foreground ,accent))))
;; custom ;; custom
(setq custom-file "~/.emacs.d/custom.el") (setq custom-file "~/.emacs.d/custom.el")
@ -271,18 +284,6 @@ value `italic'."
(package-install 'nyan-mode) (package-install 'nyan-mode)
(nyan-mode) (nyan-mode)
;; breadcrumbs
(package-install 'breadcrumb)
(setq breadcrumb-project-crumb-separator " ] "
breadcrumb-imenu-crumb-separator " > ")
(add-hook 'prog-mode-hook
#'(lambda ()
(setq header-line-format
'(" "
(:eval (breadcrumb-project-crumbs))
" : "
(:eval (breadcrumb-imenu-crumbs))))))
;; dashboard ;; dashboard
(package-install 'dashboard) (package-install 'dashboard)
(setq dashboard-banner-logo-title "Welcome to GNU Emacs, one component of the GNU/Linux operating system." (setq dashboard-banner-logo-title "Welcome to GNU Emacs, one component of the GNU/Linux operating system."