mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
More keys!
This commit is contained in:
parent
42a896742c
commit
9b009b5c6f
1 changed files with 9 additions and 1 deletions
|
|
@ -27,15 +27,23 @@
|
|||
(require 'term/xterm)
|
||||
|
||||
(let ((ascii-start 97)
|
||||
(C-M-start ?\C-\M-a))
|
||||
(C-M-start ?\C-\M-a)
|
||||
(M-S-start ?\M-\S-a))
|
||||
(dotimes (n 26)
|
||||
(define-key xterm-function-map
|
||||
(format "\e[27;5;%d~" (+ ascii-start n))
|
||||
(vector (1+ n)))
|
||||
(define-key xterm-function-map
|
||||
(format "\e[27;4;%d~" (+ ascii-start n))
|
||||
(vector (+ n M-S-start)))
|
||||
(define-key xterm-function-map
|
||||
(format "\e[27;7;%d~" (+ ascii-start n))
|
||||
(vector (+ n C-M-start)))))
|
||||
|
||||
(define-key xterm-function-map
|
||||
"\e[27;4;13~"
|
||||
[M-S-return])
|
||||
|
||||
(define-key xterm-function-map
|
||||
"\e[27;5;8~"
|
||||
[C-backspace])
|
||||
|
|
|
|||
Loading…
Reference in a new issue