summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-04-29 15:09:04 +0800
committernoa2025-04-29 15:09:04 +0800
commitff98489ae0f44b7f1fabb8704d281edd636c4cf9 (patch)
treef3773c25078f89f233c05a28817fabdf11eadad7 /emacs
parentac6305fba31e32ba84a2a91f493f5a317c819f37 (diff)
Flatten imenus
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8e8d8b6..e468ab1 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -60,6 +60,8 @@
 
 (setopt repeat-mode t)
 
+(setopt imenu-flatten 'prefix)
+
 ;; Using a proportional font is the right way to do things, but emacs is very old and comes from a time before the innovation of legibility.  As a result, there are some things that require a monospaced font, so i set one here.
 (custom-set-faces
  '(default ((t (:family "Noto Sans Mono" :height 120))))