mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
C-M works now
This commit is contained in:
parent
79f776ab63
commit
0ab18831fb
1 changed files with 6 additions and 2 deletions
|
|
@ -26,11 +26,15 @@
|
|||
|
||||
(require 'term/xterm)
|
||||
|
||||
(let ((ascii-start 97))
|
||||
(let ((ascii-start 97)
|
||||
(C-M-start ?\C-\M-a))
|
||||
(dotimes (n 26)
|
||||
(define-key xterm-function-map
|
||||
(format "\e[27;5;%d~" (+ ascii-start n))
|
||||
(vector (1+ n)))))
|
||||
(vector (1+ n)))
|
||||
(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;5;8~"
|
||||
|
|
|
|||
Loading…
Reference in a new issue