-
Notifications
You must be signed in to change notification settings - Fork 0
/
noforn.el
50 lines (44 loc) · 1.6 KB
/
noforn.el
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
39
40
41
42
43
44
45
46
47
48
49
50
;; You can toggle back and forth with normal by C-\
;;; Odd letters and glyphs.
(defun french-input ()
(interactive)
(set-input-method "french-postfix"))
(defun greek-input ()
(interactive)
(set-input-method "greek"))
(defun ucs-input ()
(interactive)
(set-input-method "ucs"))
(defun tex-input ()
(interactive)
(set-input-method "TeX"))
(global-set-key (kbd "<f9> f") 'french-input)
(global-set-key (kbd "<f9> g") 'greek-input)
(global-set-key (kbd "<f9> t") 'tex-input)
(global-set-key (kbd "<f9> u") 'ucs-input)
(global-set-key (kbd "<f9> c") "¢")
(global-set-key (kbd "<f9> B") "฿")
(global-set-key (kbd "<f9> E") "€")
(global-set-key (kbd "<f9> L") "£")
(global-set-key (kbd "<f9> l") "λ")
(global-set-key (kbd "<f9> C") "©")
(global-set-key (kbd "<f9> R") "®")
(global-set-key (kbd "<f9> TM") "™")
(global-set-key (kbd "<f9> []") "☐")
(global-set-key (kbd "<f9> [v]") "☑")
(global-set-key (kbd "<f9> [x]") "☒")
(global-set-key (kbd "<f9> v") "✓")
(global-set-key (kbd "<f9> o") "○")
(global-set-key (kbd "<f9> ->") "→")
(global-set-key (kbd "<f9> <-") "←")
(global-set-key (kbd "<f9> -<") "←")
(global-set-key (kbd "<f9> ---") "—")
(global-set-key (kbd "<f9> -->") "⟶")
(global-set-key (kbd "<f9> --<") "⟵")
(global-set-key (kbd "<f9> =>") "⇒")
(global-set-key (kbd "<f9> <=") "⇐")
(global-set-key (kbd "<f9> >=") "≥")
(global-set-key (kbd "<f9> =<") "≤")
(global-set-key (kbd "<f9> inf") "∞")
(global-set-key (kbd "<f9> :)") "☻")
(global-set-key (kbd "<f9> shrug") "¯\\_(ツ)\_/¯")