-
Notifications
You must be signed in to change notification settings - Fork 134
/
fancy_symbols.kbd
43 lines (43 loc) · 3.11 KB
/
fancy_symbols.kbd
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
;; Turns ⎇› RightAlt into a symbol key to insert valid kanata unicode symbols for the pressed key
;; Turns ⇧›⎇› RightShift+RightAlt into a symbol key to insert extra symbols for the same keys
;; e.g., ⎇›Delete will print ␡
(defcfg)
(defalias
🔣 (layer-while-held fancy-symbol)
⇧🔣 (layer-while-held ⇧fancy-symbol))
(defsrc
‹🖰 🖰› 🖰3 🖰4 🖰5
▶⏸ ◀◀ ▶▶ 🔇 🔉 🔊 🔅 🔆 🎛 ⌨💡+ ⌨💡−
⎋
ˋ 1 2 3 4 5 6 7 8 9 0 - = ␈ ⎀ ⇤ ⇞ ⇭ 🔢⁄ 🔢∗ 🔢₋
⭾ q w e r t y u i o p [ ] \ ␡ ⇥ ⇟ 🔢₇ 🔢₈ 🔢₉ 🔢₊
⇪ a s d f g h j k l ; ' ⏎ 🔢₄ 🔢₅ 🔢₆
‹⇧ z x c v b n m , . / ⇧› ▲ 🔢₁ 🔢₂ 🔢₃ 🔢⏎
‹⎈ ‹◆ ‹⎇ ␠ ⎇› ☰ ⎈› ◀ ▼ ▶ 🔢₀ 🔢⸴ )
(deflayer qwerty ;; =base with ⎇› as a fancy symbol key
‗ ‗ ‗ ‗ ‗
‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗
‗
‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗
‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗
‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗
‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗ ‗
‗ ‗ ‗ ‗ @🔣 ‗ ‗ ‗ ‗ ‗ ‗ ‗ )
(deflayer fancy-symbol ;; •block all other keys
🔣‹🖰 🔣🖰› 🔣🖰3 🔣🖰4 🔣🖰5
🔣▶⏸ 🔣◀◀ 🔣▶▶ 🔣🔇 🔣🔉 🔣🔊 🔣🔅 🔣🔆 🔣🎛 🔣⌨💡+ 🔣⌨💡−
🔣⎋
🔣ˋ • • • • • • • • • • 🔣‐ 🔣₌ 🔣␈ 🔣⎀ 🔣⇤ 🔣⇞ 🔣⇭ 🔣🔢⁄ 🔣🔢∗ 🔣🔢₋
🔣⭾ • • • • • • • • • • 🔣【 🔣】 🔣⧵ 🔣␡ 🔣⇥ 🔣⇟ 🔣🔢₇ 🔣🔢₈ 🔣🔢₉ 🔣🔢₊
🔣⇪ • • • • • • • • • 🔣︔ ' 🔣⏎ 🔣🔢₄ 🔣🔢₅ 🔣🔢₆
🔣⇧ • • • • • • • 🔣⸴ 🔣. 🔣⁄ @⇧🔣 🔣▲ 🔣🔢₁ 🔣🔢₂ 🔣🔢₃ 🔣🔢⏎
🔣⎈ 🔣◆ 🔣⎇ 🔣␠ • 🔣☰ • 🔣◀ 🔣▼ 🔣▶ 🔣🔢₀ 🔣🔢⸴ )
(deflayer ⇧fancy-symbol ;; •block all other keys
🔣🖰1 🔣🖰2 • • •
• • • 🔣🔈⓪⓿₀ • 🔣🔈−➖₋⊖ 🔣🔈+➕₊⊕ • • 🔣⌨💡➕₊⊕ 🔣⌨💡➖₋⊖
•
🔣˜ • • • • • • • • • • - = 🔣⌫ • 🔣⤒↖ 🔣🔢 • • • •
🔣↹ • • • • • • • • • • 🔣「〔⎡ 🔣」〕⎣ 🔣\ 🔣⌦ 🔣⤓↘ • • • • •
• • • • • • • • • • • • 🔣↩⌤ • • •
• • • • • • • • • • / • • • • • 🔣🔢↩⌤
🔣⌃ 🔣❖⌘ 🔣⌥ 🔣␣ 🔣▤𝌆 • • • • • • • )