Replies: 1 comment
-
Current progress:- ;; Non working code
(advice-add 'imenu :override #'consult-imenu) The above code just changes the imenu interactive function to consult-imenu. The hacky work around way of doing this might be to override the breadcrumb-jump function with the consult-imenu command. (example below) (use-package breadcrumb
:after (consult)
:config
(fset 'breadcrumb--project-crumbs-1 #'ignore)
(advice-add 'breadcrumb-jump :override 'consult-imenu)) PS :- |
Beta Was this translation helpful? Give feedback.
-
Hello there,
In the breadcrumbs package the function breadcrumb-imenu-crumbs is used in the mode line to display bread crumb. It also has a binding on mouse-1 button to open imenu.
I have tried the below config to map all interactive imenu calls to consult-imenu but none of the ways resulted in switch of the mouse click imenu call to consult-imenu.
Expected behavior :-
on clicking the bread crumb it open consult-imenu instead of inbuild imenu.
Question :-
PS :-
Thanks for actively maintaining a great package.
Beta Was this translation helpful? Give feedback.
All reactions