From 2d214c1301363658190d4907d50c8e69140ee4db Mon Sep 17 00:00:00 2001 From: Vedang Manerikar <ved.manerikar@gmail.com> Date: Sun, 17 Nov 2024 21:41:56 +0530 Subject: [PATCH] Disable breadcrumb. Keep it only for presentation. It eats up window space and does not add too much value to my workflow --- unravel-emacs.org | 4 +++- unravel-modules/unravel-window.el | 16 ---------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/unravel-emacs.org b/unravel-emacs.org index 61cf276..8c457bf 100644 --- a/unravel-emacs.org +++ b/unravel-emacs.org @@ -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 diff --git a/unravel-modules/unravel-window.el b/unravel-modules/unravel-window.el index a9acaf1..5d046ee 100644 --- a/unravel-modules/unravel-window.el +++ b/unravel-modules/unravel-window.el @@ -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)