help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to make M-C-p and M-C-n global aliases for M-down and


From: Stefan Monnier
Subject: Re: Is it possible to make M-C-p and M-C-n global aliases for M-down and M-up?
Date: Sun, 07 Feb 2021 15:50:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Hm... maybe I should spring for a new laptop with a working keyboard...? :-)

Doesn't seem worth the trouble.

> (My current laptop is a cheap laptop from 2014, that has proved

So it's still younger than all my laptops ;-)

> On a releated note: is it possible to be able to use C-p for what down
> does and C-n for what up does, when cycling through 'M-x' commands in
> the minibuffer?

Sure, just tweak the bindings in `minibuffer-local-map`.
IIRC up/down are bound to previous/next-line-or-history-element, so just
bind C-p/C-n to those.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]