Mercurial > emacs
changeset 38642:4d538c0a8afc
Bind shifted and control-shifted kp-* keys to the
corresponding non-kp keys. Suggested by Stephen Gildea <gildea@alum.mit.edu>.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 01 Aug 2001 15:26:16 +0000 |
parents | 2e6dd0de246f |
children | ac4f220ae496 |
files | lisp/bindings.el |
diffstat | 1 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/bindings.el Wed Aug 01 14:39:56 2001 +0000 +++ b/lisp/bindings.el Wed Aug 01 15:26:16 2001 +0000 @@ -737,6 +737,38 @@ (define-key function-key-map [backspace] [?\C-?]) (define-key function-key-map [delete] [?\C-?]) (define-key function-key-map [kp-delete] [?\C-?]) +(define-key function-key-map [S-kp-end] [S-end]) +(define-key function-key-map [S-kp-down] [S-down]) +(define-key function-key-map [S-kp-next] [S-next]) +(define-key function-key-map [S-kp-left] [S-left]) +(define-key function-key-map [S-kp-right] [S-right]) +(define-key function-key-map [S-kp-home] [S-home]) +(define-key function-key-map [S-kp-up] [S-up]) +(define-key function-key-map [S-kp-prior] [S-prior]) +(define-key function-key-map [C-S-kp-end] [C-S-end]) +(define-key function-key-map [C-S-kp-down] [C-S-down]) +(define-key function-key-map [C-S-kp-next] [C-S-next]) +(define-key function-key-map [C-S-kp-left] [C-S-left]) +(define-key function-key-map [C-S-kp-right] [C-S-right]) +(define-key function-key-map [C-S-kp-home] [C-S-home]) +(define-key function-key-map [C-S-kp-up] [C-S-up]) +(define-key function-key-map [C-S-kp-prior] [C-S-prior]) +(define-key function-key-map [S-kp-1] [S-end]) +(define-key function-key-map [S-kp-2] [S-down]) +(define-key function-key-map [S-kp-3] [S-next]) +(define-key function-key-map [S-kp-4] [S-left]) +(define-key function-key-map [S-kp-6] [S-right]) +(define-key function-key-map [S-kp-7] [S-home]) +(define-key function-key-map [S-kp-8] [S-up]) +(define-key function-key-map [S-kp-9] [S-prior]) +(define-key function-key-map [C-S-kp-1] [C-S-end]) +(define-key function-key-map [C-S-kp-2] [C-S-down]) +(define-key function-key-map [C-S-kp-3] [C-S-next]) +(define-key function-key-map [C-S-kp-4] [C-S-left]) +(define-key function-key-map [C-S-kp-6] [C-S-right]) +(define-key function-key-map [C-S-kp-7] [C-S-home]) +(define-key function-key-map [C-S-kp-8] [C-S-up]) +(define-key function-key-map [C-S-kp-9] [C-S-prior]) (define-key global-map [mouse-movement] 'ignore)