[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: add a binding for `imenu' under M-g
From: |
Sean Whitton |
Subject: |
Re: Proposal: add a binding for `imenu' under M-g |
Date: |
Thu, 21 Apr 2022 20:37:22 -0700 |
User-agent: |
Notmuch/0.35 Emacs/29.0.50 (x86_64-pc-linux-gnu) |
Hello,
On Thu 21 Apr 2022 at 01:50pm -04, Howard Melman wrote:
> 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).
Huh, interesting that 'M-g i' occurred independently to the consult devs.
--
Sean Whitton
- Re: Proposal: add a binding for `imenu' under M-g, (continued)
- 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, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g,
Sean Whitton <=
- 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