Skip to content

Commit

Permalink
Group imenu items.
Browse files Browse the repository at this point in the history
Useful in vanilla Emacs
  • Loading branch information
condy0919 committed Jul 25, 2024
1 parent 3d856f0 commit 3fe17f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lisp/init-base.el
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,9 @@ Else, call `comment-or-uncomment-region' on the current line."

;; Buffer index
(use-package imenu
:hook (imenu-after-jump . recenter))
:hook (imenu-after-jump . recenter)
:custom
(imenu-flatten 'group))

;; Needed by `webpaste'
(use-package browse-url
Expand Down

0 comments on commit 3fe17f3

Please sign in to comment.