Disable breadcrumb. Keep it only for presentation.

It eats up window space and does not add too much value to my workflow
This commit is contained in:
Vedang Manerikar 2024-11-17 21:41:56 +05:30
parent 492669f14a
commit 2d214c1301
2 changed files with 3 additions and 17 deletions

View file

@ -2953,11 +2953,13 @@ frame.
("C-x <left>" . winner-undo)))
#+end_src
** The =unravel-window.el= use of contextual header line (~breadcrumb~)
** COMMENT The =unravel-window.el= use of contextual header line (~breadcrumb~)
:PROPERTIES:
:CUSTOM_ID: h:29ced61b-4b5a-4f63-af00-fe311468d1cd
:END:
~breadcrumb~ is an interesting package when demo'ing something, but not useful to me in day-to-day use. Commenting it out until I need it.
#+begin_quote
The ~breadcrumb~ package by João Távora lets us display contextual
information about the current heading or code definition in the header

View file

@ -127,20 +127,4 @@
(("C-x <right>" . winner-redo)
("C-x <left>" . winner-undo)))
;;; Header line context of symbol/heading (breadcrumb.el)
(use-package breadcrumb
:ensure t
:functions (prot/breadcrumb-local-mode)
:hook ((text-mode prog-mode) . prot/breadcrumb-local-mode)
:config
(setq breadcrumb-project-max-length 0.5)
(setq breadcrumb-project-crumb-separator "/")
(setq breadcrumb-imenu-max-length 1.0)
(setq breadcrumb-imenu-crumb-separator " > ")
(defun prot/breadcrumb-local-mode ()
"Enable `breadcrumb-local-mode' if the buffer is visiting a file."
(when buffer-file-name
(breadcrumb-local-mode 1))))
(provide 'unravel-window)