-
Notifications
You must be signed in to change notification settings - Fork 1
/
mg
38 lines (28 loc) · 739 Bytes
/
mg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
; .mg
meta-key-mode 0
auto-execute *.c c-mode
make-backup-files 0
global-set-key "\eg" goto-line
; F2
global-set-key "\eOQ" save-buffer
; F2 on linux console
global-set-key "\e[[B" save-buffer
; F2 on rxvt-unicode
global-set-key "\e[12~" save-buffer
; F4
global-set-key "\eOS" switch-to-buffer
global-set-key "\e[14~" switch-to-buffer
; F8
global-set-key "\e[19~" call-last-kbd-macro
; F11
global-set-key "\e[23~" save-buffers-kill-emacs
; F12
global-set-key "\e[24~" delete-other-windows
; delete
global-set-key "\e[3~" delete-char
; Segmentation fault: if define C-\ using: global-set-key "\^\" undo
; so must use octal notation: C-\ == \034
global-set-key "\034" undo
; set-default-mode fill
; set-fill-column 72
; ---EOF---