-
-
Notifications
You must be signed in to change notification settings - Fork 287
/
Copy pathmacos.py
105 lines (100 loc) · 3.26 KB
/
macos.py
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
from visidata import BaseSheet
# for mac users to use Option+x as Alt+x without reconfiguring the terminal
# Option+X
BaseSheet.bindkey('å', 'Alt+a')
BaseSheet.bindkey('∫', 'Alt+b')
BaseSheet.bindkey('ç', 'Alt+c')
BaseSheet.bindkey('∂', 'Alt+d')
BaseSheet.bindkey('´', 'Alt+e')
BaseSheet.bindkey('ƒ', 'Alt+f')
BaseSheet.bindkey('©', 'Alt+g')
BaseSheet.bindkey('˙', 'Alt+h')
BaseSheet.bindkey('ˆ', 'Alt+i')
BaseSheet.bindkey('∆', 'Alt+j')
BaseSheet.bindkey('˚', 'Alt+k')
BaseSheet.bindkey('¬', 'Alt+l')
BaseSheet.bindkey('µ', 'Alt+m')
BaseSheet.bindkey('˜', 'Alt+n')
BaseSheet.bindkey('ø', 'Alt+o')
BaseSheet.bindkey('π', 'Alt+p')
BaseSheet.bindkey('œ', 'Alt+q')
BaseSheet.bindkey('®', 'Alt+r')
BaseSheet.bindkey('ß', 'Alt+s')
BaseSheet.bindkey('†', 'Alt+t')
BaseSheet.bindkey('¨', 'Alt+u')
BaseSheet.bindkey('√', 'Alt+v')
BaseSheet.bindkey('∑', 'Alt+w')
BaseSheet.bindkey('≈', 'Alt+x')
BaseSheet.bindkey('¥', 'Alt+y')
BaseSheet.bindkey('Ω', 'Alt+z')
# Option+Shift+X
BaseSheet.bindkey('Å', 'Alt+A')
BaseSheet.bindkey('ı', 'Alt+B')
BaseSheet.bindkey('Ç', 'Alt+C')
BaseSheet.bindkey('Î', 'Alt+D')
#BaseSheet.bindkey('´', 'Alt+E')
BaseSheet.bindkey('Ï', 'Alt+F')
BaseSheet.bindkey('˝', 'Alt+G')
BaseSheet.bindkey('Ó', 'Alt+H')
#BaseSheet.bindkey('ˆ', 'Alt+I')
BaseSheet.bindkey('Ô', 'Alt+J')
BaseSheet.bindkey('', 'Alt+K') # apple logo
BaseSheet.bindkey('Ò', 'Alt+L')
BaseSheet.bindkey('Â', 'Alt+M')
#BaseSheet.bindkey('˜', 'Alt+N')
BaseSheet.bindkey('Ø', 'Alt+O')
BaseSheet.bindkey('∏', 'Alt+P')
BaseSheet.bindkey('Œ', 'Alt+Q')
BaseSheet.bindkey('‰', 'Alt+R')
BaseSheet.bindkey('Í', 'Alt+S')
BaseSheet.bindkey('ˇ', 'Alt+T')
#BaseSheet.bindkey('¨', 'Alt+U')
BaseSheet.bindkey('◊', 'Alt+V')
BaseSheet.bindkey('„', 'Alt+W')
BaseSheet.bindkey('˛', 'Alt+X')
BaseSheet.bindkey('Á', 'Alt+Y')
BaseSheet.bindkey('¸', 'Alt+Z')
# Option+nonletter
BaseSheet.bindkey('¡', 'Alt+1')
BaseSheet.bindkey('™', 'Alt+2')
BaseSheet.bindkey('£', 'Alt+3')
BaseSheet.bindkey('¢', 'Alt+4')
BaseSheet.bindkey('∞', 'Alt+5')
BaseSheet.bindkey('§', 'Alt+6')
BaseSheet.bindkey('¶', 'Alt+7')
BaseSheet.bindkey('•', 'Alt+8')
BaseSheet.bindkey('ª', 'Alt+9')
BaseSheet.bindkey('º', 'Alt+0')
#BaseSheet.bindkey('', 'Alt+`')
BaseSheet.bindkey('–', 'Alt+-')
BaseSheet.bindkey('≠', 'Alt+=')
BaseSheet.bindkey('“', 'Alt+[')
BaseSheet.bindkey('‘', 'Alt+]')
BaseSheet.bindkey('«', 'Alt+\\')
BaseSheet.bindkey('÷', 'Alt+/')
BaseSheet.bindkey('…', 'Alt+;')
BaseSheet.bindkey('æ', 'Alt+\'')
BaseSheet.bindkey('≤', 'Alt+,')
BaseSheet.bindkey('≥', 'Alt+.')
# Option+Shift+nonletter
BaseSheet.bindkey('⁄', 'Alt+!')
BaseSheet.bindkey('€', 'Alt+@')
BaseSheet.bindkey('‹', 'Alt+#')
BaseSheet.bindkey('›', 'Alt+$')
BaseSheet.bindkey('fi', 'Alt+%')
BaseSheet.bindkey('fl', 'Alt+^')
BaseSheet.bindkey('‡', 'Alt+&')
BaseSheet.bindkey('°', 'Alt+*')
BaseSheet.bindkey('·', 'Alt+(')
BaseSheet.bindkey('‚', 'Alt+)')
#BaseSheet.bindkey('`', 'Alt+~')
BaseSheet.bindkey('—', 'Alt+_')
BaseSheet.bindkey('±', 'Alt++')
BaseSheet.bindkey('”', 'Alt+{')
BaseSheet.bindkey('’', 'Alt+}')
BaseSheet.bindkey('»', 'Alt+|')
BaseSheet.bindkey('¿', 'Alt+?')
BaseSheet.bindkey('Ú', 'Alt+:')
BaseSheet.bindkey('Æ', 'Alt+"')
BaseSheet.bindkey('¯', 'Alt+<')
BaseSheet.bindkey('˘', 'Alt+>')