|
From: | Steinar Bang |
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 20:06:21 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
>>>>> Stefan Monnier <monnier@iro.umontreal.ca>: >> 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]) Thanks, Stefan! That worked perfectly! (ie. at least: it worked where I needed it most, which was moving nodes up and down in org-mode)
[Prev in Thread] | Current Thread | [Next in Thread] |