Skip to content

Instantly share code, notes, and snippets.

@jordonbiondo
Last active December 15, 2022 10:45
Show Gist options
  • Save jordonbiondo/6385874a70420b05de18 to your computer and use it in GitHub Desktop.
Save jordonbiondo/6385874a70420b05de18 to your computer and use it in GitHub Desktop.
have imenu include use-package
;; in action: http://i.imgur.com/Tt2M0LC.gif
(add-to-list 'imenu-generic-expression
'("Used Packages"
"\\(^\\s-*(use-package +\\)\\(\\_<.+\\_>\\)" 2))
;; I also highly recommend imenu-anywhere to make developing your config even easier
@blaenk
Copy link

blaenk commented Aug 3, 2015

awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment