From 206063f27d60fe856981a35c0d275815c2058e7b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 25 Sep 2021 00:54:13 +0200 Subject: [PATCH] tweak(org): org-imenu-depth = 6 Headings beyond 6 are excessive in almost any org document, and only muddy (and slow down) imenu search results, so I'm reducing it to the number of available HTML headings. --- modules/lang/org/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index a06cc4902..5d50277eb 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -115,7 +115,7 @@ Is relative to `org-directory', unless it is absolute. Is used in Doom's default org-fontify-whole-heading-line t org-hide-leading-stars t org-image-actual-width nil - org-imenu-depth 8 + org-imenu-depth 6 ;; Sub-lists should have different bullets org-list-demote-modify-bullet '(("+" . "-") ("-" . "+") ("*" . "+") ("1." . "a.")) org-priority-faces