Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4dab1ffd
Commit
4dab1ffd
authored
Sep 08, 2004
by
Stefan Monnier
Browse files
(function-key-map): Add bindings for C- and S- cursor
motion as seen on my Mac OS X xterms.
parent
f844ba4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
lisp/term/xterm.el
lisp/term/xterm.el
+12
-2
No files found.
lisp/term/xterm.el
View file @
4dab1ffd
;;; xterm.el --- define function key sequences and standard colors for xterm
;; Copyright (C) 1995, 2002 Free Software Foundation, Inc.
;; Copyright (C) 1995, 2002
, 2004
Free Software Foundation, Inc.
;; Author: FSF
;; Keywords: terminals
...
...
@@ -51,6 +51,16 @@
(
define-key
map
"\e[24~"
[f12]
)
(
define-key
map
"\e[29~"
[print]
)
(
define-key
map
"\e[1;2A"
[S-up]
)
(
define-key
map
"\e[1;2B"
[S-down]
)
(
define-key
map
"\e[1;2C"
[S-right]
)
(
define-key
map
"\e[1;2D"
[S-left]
)
(
define-key
map
"\e[1;5A"
[C-up]
)
(
define-key
map
"\e[1;5B"
[C-down]
)
(
define-key
map
"\e[1;5C"
[C-right]
)
(
define-key
map
"\e[1;5D"
[C-left]
)
(
define-key
map
"\e[2;2~"
[S-insert]
)
(
define-key
map
"\e[3;2~"
[S-delete]
)
(
define-key
map
"\e[5;2~"
[S-prior]
)
...
...
@@ -236,5 +246,5 @@ versions of xterm."
;; This recomputes all the default faces given the colors we've just set up.
(
tty-set-up-initial-frame-faces
)
;;
;
arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a
;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a
;;; xterm.el ends here
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment