summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-08-30 07:47:58 -0700
committerFranck Cuny <franck@fcuny.net>2024-08-30 07:47:58 -0700
commitbd1babdfbdb4fb9a7fb3ba9111768b9b8875f925 (patch)
tree314fa8c493e15e49de07fd5b71ceb3749924bc31
parentensure we install json-mode (diff)
downloademacs.d-bd1babdfbdb4fb9a7fb3ba9111768b9b8875f925.tar.gz
add breadcrumb again
-rw-r--r--config/init-window.el23
-rw-r--r--init.el1
2 files changed, 24 insertions, 0 deletions
diff --git a/config/init-window.el b/config/init-window.el
new file mode 100644
index 0000000..85aab8b
--- /dev/null
+++ b/config/init-window.el
@@ -0,0 +1,23 @@
+;;; init-window.el --- configure windows -*- lexical-binding: t -*-
+;; Author: Franck Cuny <franck@fcuny.net>
+
+;;; Commentary:
+
+;; commentary
+
+;;; Code:
+
+;;; Header line context of symbol/heading (breadcrumb.el)
+(use-package breadcrumb
+  :ensure t
+  :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 " > ")
+  :init
+  (breadcrumb-mode 1))
+
+(provide 'init-window)
+
+;;; init-window.el ends here
diff --git a/init.el b/init.el
index 0646a4e..bf273d0 100644
--- a/init.el
+++ b/init.el
@@ -43,6 +43,7 @@
 (require 'init-programming)
 (require 'init-eshell)
 (require 'init-writing)
+(require 'init-window)
 
 (report-time-since-load)