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 13:53:52 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Is it possible to make M-C-n a global alias for M-down, and to make
> M-C-p a global alias for M-up?
>
> I.e. make them aliases across modes?

You could try something like

    (define-key input-decode-map [?\C-\M-n] [M-down])
    (define-key input-decode-map [?\C-\M-p] [M-up])


-- Stefan




reply via email to

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