Skip to content

Instantly share code, notes, and snippets.

@jordonbiondo
Last active December 15, 2022 10:45
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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
@zakame
Copy link

zakame commented May 22, 2015

In my case, I already have helm-semantic-or-imenu on C-x c i, so this becomes a hook: zakame/.emacs.d@5883de6

@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