-
Notifications
You must be signed in to change notification settings - Fork 5
/
XCompose
140 lines (109 loc) · 4.94 KB
/
XCompose
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# ~/.XCompose - Compose(5) - Compose (Multi) key mappings for XIM input method
#
# Enabling compose key: <https://wiki.ubuntu.com/ComposeKey>
#
# NOTE: In GTK, custom definitions only work in 3.18+gitmaster (as of commit
# a41f02f9b1843e0f0085f801430e55f413a9bf9c). For older versions, switch
# to 'ibus' or 'xim' immodules (see GTK_IM_MODULE in my "environ" file)
#
# NOTE: IBus support for XCompose is incomplete – only 2-letter shortcuts are
# supported, e.g. "<Multi_key> <z> <w> <j>" won't work. However, stacked
# <Multi_key> works fine.
# defaults: /usr/share/X11/locale/en_US.UTF-8/Compose
include "%L"
# letters
<Multi_key> <D> <A> : "Δ" U0394 # Delta
<Multi_key> <D> <a> : "Δ" U0394 # Delta
<Multi_key> <d> <a> : "δ" U03B4 # delta
<Multi_key> <l> <a> : "λ" U03BB # lambda
<Multi_key> <O> <M> : "Ω" U03A9 # Omega
<Multi_key> <O> <m> : "Ω" U03A9 # Omega
<Multi_key> <o> <m> : "ω" U03C9 # omega
<Multi_key> <p> <i> : "π" U03C0 # pi
<Multi_key> <n> <n> : "𝒏" #U1d48f
<Multi_key> <n> <quotedbl> : "n̈" # SPINAL TAP
# various glyphs
<Multi_key> <equal> <equal> : "–" U2013 # EN DASH, - - .
<Multi_key> <zcaron> <zcaron> : "–" U2013 # EN DASH, - - .
<Multi_key> <equal> <asciitilde> : "≈" U2248
<Multi_key> <asciitilde> <asciitilde> : "≈" U2248
<Multi_key> <less> <4> : "❤" U2764
<Multi_key> <3> <greater> : "❥" U2765
<Multi_key> <slash> <slash> : "⁄" U2044 # FRACTION SLASH
<Multi_key> <v> <slash> : "✔" U2714 # check
<Multi_key> <ampersand> <ampersand> : "∧" U2227 # LOGICAL AND
<Multi_key> <bar> <bar> : "∨" U2228 # LOGICAL OR
<Multi_key> <minus> <period> : "⋯" U22EF # MID HORIZ ELLIPSIS
<Multi_key> <bar> <period> : "⁝" U205D # TRICOLON
<Multi_key> <4> <period> : "⁞" U205E # VERTICAL FOUR DOTS
<Multi_key> <backslash> <backslash> : "¦" U00A6 # BROKEN BAR
<Multi_key> <bar> <greater> : "❯"
<Multi_key> <Multi_key> <bar> <bar> : "∩" U2229 # INTERSECTION
<Multi_key> <Multi_key> <ampersand> <ampersand> : "∪" U222A # UNION
# quotation marks
<Multi_key> <l> <q> : "“" U201c # LEFT DOUBLE QUOT. MARK <"
<Multi_key> <r> <q> : "”" U201d # RIGHT DOUBLE QUOT. MARK >"
<Multi_key> <b> <q> : "„" U201e # DOUBLE LOW-9 QUOT. MARK ,"
<Multi_key> <apostrophe> <period> : "’" U2019 # RIGHT SINGLE QUOT. MARK >'
<Multi_key> <period> <apostrophe> : "’" U2019 # -same-
<Multi_key> <bracketleft> <less> : "〈" U3008 # LEFT ANGLE BRACKET
<Multi_key> <bracketright> <greater> : "〉" U3009 # RIGHT ANGLE BRACKET
<Multi_key> <bracketleft> <parenleft> : "〔" U3014 # LEFT TORTOISE SHELL BRACKET
<Multi_key> <bracketright> <parenright> : "〕" U3015 # RIGHT TORTOISE SHELL BRACKET
<Multi_key> <bracketleft> <apostrophe> : "「" U300c # LEFT CORNER BRACKET
<Multi_key> <bracketright> <apostrophe> : "」" U300d # RIGHT CORNER BRACKET
<Multi_key> <bracketleft> <quotedbl> : "『" U300e
<Multi_key> <bracketright> <quotedbl> : "』" U300f
<Multi_key> <Multi_key> <bracketleft> <apostrophe> : "「" Uff62 # HALF… LEFT C B
<Multi_key> <Multi_key> <bracketright> <apostrophe> : "」" Uff63 # HALF… RIGHT C B
# arrows
<Multi_key> <6> <6> : "↑" # up arrow
<Multi_key> <v> <v> : "↓" # down arrow
<Multi_key> <l> <r> : "⇆" # lrarr
<Multi_key> <r> <l> : "⇄" # rlarr
<Multi_key> <Return> <Return> : "↵"
# arrows on keypad
<Multi_key> <KP_5> <KP_1> : "↙"
<Multi_key> <KP_5> <KP_2> : "↓"
<Multi_key> <KP_5> <KP_3> : "↘"
<Multi_key> <KP_5> <KP_4> : "←"
<Multi_key> <KP_5> <KP_6> : "→"
<Multi_key> <KP_5> <KP_7> : "↖"
<Multi_key> <KP_5> <KP_8> : "↑"
<Multi_key> <KP_5> <KP_9> : "↗"
<Multi_key> <KP_2> <KP_8> : "↕"
<Multi_key> <KP_8> <KP_2> : "↕"
<Multi_key> <KP_4> <KP_6> : "↔"
<Multi_key> <KP_6> <KP_4> : "↔"
# box drawing and stuff
<Multi_key> <numbersign> <1> : "░"
<Multi_key> <numbersign> <2> : "▒"
<Multi_key> <numbersign> <3> : "▓"
<Multi_key> <numbersign> <4> : "█"
# box drawing numpad
<Multi_key> <KP_1> <KP_1> : "└"
<Multi_key> <KP_2> <KP_2> : "─"
<Multi_key> <KP_3> <KP_3> : "┘"
<Multi_key> <KP_4> <KP_4> : "│"
<Multi_key> <KP_5> <KP_5> : "┼"
<Multi_key> <KP_6> <KP_6> : "│"
<Multi_key> <KP_7> <KP_7> : "┌"
<Multi_key> <KP_8> <KP_8> : "─"
<Multi_key> <KP_9> <KP_9> : "┐"
<Multi_key> <KP_2> <KP_5> : "┴"
<Multi_key> <KP_4> <KP_5> : "├"
<Multi_key> <KP_6> <KP_5> : "┤"
<Multi_key> <KP_8> <KP_5> : "┬"
<Multi_key> <Multi_key> <KP_1> <KP_1> : "╚"
<Multi_key> <Multi_key> <KP_2> <KP_2> : "═"
<Multi_key> <Multi_key> <KP_3> <KP_3> : "╝"
<Multi_key> <Multi_key> <KP_4> <KP_4> : "║"
<Multi_key> <Multi_key> <KP_5> <KP_5> : "┼"
<Multi_key> <Multi_key> <KP_6> <KP_6> : "║"
<Multi_key> <Multi_key> <KP_7> <KP_7> : "╔"
<Multi_key> <Multi_key> <KP_8> <KP_8> : "═"
<Multi_key> <Multi_key> <KP_9> <KP_9> : "╗"
<Multi_key> <Multi_key> <KP_2> <KP_5> : "╩"
<Multi_key> <Multi_key> <KP_4> <KP_5> : "╠"
<Multi_key> <Multi_key> <KP_6> <KP_5> : "╣"
<Multi_key> <Multi_key> <KP_8> <KP_5> : "╦"