[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: add a binding for `imenu' under M-g
From: |
Howard Melman |
Subject: |
Re: Proposal: add a binding for `imenu' under M-g |
Date: |
Thu, 21 Apr 2022 13:50:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) |
Juri Linkov <juri@linkov.net> writes:
> Do you think that additionally to 'M-g i' imenu should be
> bound also to 'M-g M-i'? Then it could be typed without
> releasing the Meta modifier. But the problem is that
> 'M-i' is equivalent to 'TAB', so this means taking the
> keybinding 'M-g TAB' that might have more sense for
> another command associated with TABs like navigating to
> the next link, then 'M-g S-TAB' to the previous link, etc.
I don't think imenu deserves two bindings and 'M-g i' is easy enough.
FWIW I use the consult package and bind, as follows:
(global-set-key (kbd "M-g i") 'consult-imenu)
(global-set-key (kbd "M-g M-i") 'consult-imenu-multi)
The second allows completion from the imenu of all buffers
in the same project with the same major mode.
Consult itself doesn't bind these commands but suggests
'M-g 'i and 'M-g I' (capital i).
--
Howard
- Re: Proposal: add a binding for `imenu' under M-g, (continued)
- Re: Proposal: add a binding for `imenu' under M-g, Filipp Gunbin, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Brian Cully, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Stefan Monnier, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, John Yates, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Stefan Monnier, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, chad, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Kévin Le Gouguec, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Juri Linkov, 2022/04/21
- RE: [External] : Re: Proposal: add a binding for `imenu' under M-g, Drew Adams, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g,
Howard Melman <=
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Kévin Le Gouguec, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/14
- RE: [External] : Re: Proposal: add a binding for `imenu' under M-g, Drew Adams, 2022/04/14
- Re: Proposal: add a binding for `imenu' under M-g, Stephen Leake, 2022/04/19
- RE: [External] : Re: Proposal: add a binding for `imenu' under M-g, Drew Adams, 2022/04/14
Re: Proposal: add a binding for `imenu' under M-g, Filipp Gunbin, 2022/04/14