keycomfort 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Satoshi Soma
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # KEYCONFORT
2
+ Comfortable keyboard remaps for Karabiner/AutoHotKey
3
+
4
+ ## This is still in beta!
5
+ Please wait for 1.0.0 release.
6
+
package/defaults.yml ADDED
@@ -0,0 +1,200 @@
1
+ # Do not modify defaults.yml.
2
+ # Edit config.yml instead.
3
+
4
+ vim-like: 0 # prefer vim-like mappings?
5
+
6
+ rules:
7
+ modifier:
8
+ desc: Use [key] as a special modifier key (Required)
9
+ enable: 1
10
+ key: spacebar
11
+ alone: spacebar
12
+
13
+ cancel modifier:
14
+ desc: Cancel modifier (<modifier>) with [key]
15
+ enable: 1
16
+ key: left_shift
17
+
18
+ arrows:
19
+ desc: <modifier> + [up]/[right]/[down]/[left] = Up/Right/Down/Left
20
+ enable: 1
21
+ up: e
22
+ right: f
23
+ down: d
24
+ left: s
25
+
26
+ page up/down:
27
+ desc: <modifier> + [up]/[down] = Page Up/Down
28
+ enable: 1
29
+ up: w
30
+ down: r
31
+
32
+ prev/next word:
33
+ desc: <modifier> + [prev]/[next] = Prev/Next Word
34
+ enable: 1
35
+ prev: a
36
+ next: g
37
+ apps:
38
+ sonicpi: 1
39
+ others: 1
40
+
41
+ line start/end:
42
+ desc: <modifier> + [start]/[end] = Line Start/End
43
+ enable: 1
44
+ start: q
45
+ end: t
46
+ apps:
47
+ terminal: 1
48
+ sonicpi: 1
49
+ others: 1
50
+
51
+ select:
52
+ desc: <modifier> + [up]/[right]/[down]/[left] = Select Up/Right/Down/Left
53
+ enable: 1
54
+ up: i
55
+ right: l
56
+ down: k
57
+ left: j
58
+
59
+ vim:
60
+ left: h
61
+ down: j
62
+ up: k
63
+ right: l
64
+
65
+ indent/outdent:
66
+ desc: <modifier> + [indent]/[outdent] = Indent/Outdent
67
+ enable: 1
68
+ indent: o
69
+ outdent: u
70
+
71
+ backspace/delete:
72
+ desc: <modifier> + [bs]/[del] = Backspace/Delete
73
+ enable: 1
74
+ bs: h
75
+ del: n
76
+
77
+ vim:
78
+ bs: b
79
+ del: n
80
+
81
+ edit:
82
+ desc: <modifier> + [undo]/[cut]/[copy]/[paste] = Undo/Cut/Copy/Paste
83
+ enable: 1
84
+ undo: z
85
+ cut: x
86
+ copy: c
87
+ paste: v
88
+
89
+ delete line:
90
+ desc: <modifier> + [key] = Delete Line
91
+ enable: 1
92
+ key: m
93
+ apps:
94
+ atom: 1
95
+ vscode: 1
96
+ eclipse: 1
97
+
98
+ insert line:
99
+ desc: <modifier> + [key] = New Line Below
100
+ enable: 1
101
+ key: return_or_enter
102
+ apps:
103
+ atom: 1
104
+ vscode: 1
105
+ eclipse: 1
106
+
107
+ move line:
108
+ desc: <modifier> + [up]/[down] = Move Line Up/Down
109
+ enable: 1
110
+ up: comma
111
+ down: period
112
+ apps:
113
+ atom: 1
114
+ vscode: 1
115
+ eclipse: 1
116
+ sonicpi: 1
117
+
118
+ left/right tab:
119
+ desc: <modifier> + [left]/[right] = Left/Right Tab
120
+ enable: 1
121
+ left: 2
122
+ right: 3
123
+ apps:
124
+ vscode: 1
125
+ eclipse: 1
126
+ others: 1
127
+
128
+ close/open tab:
129
+ desc: <modifier> + [close]/[open] = Close/Open Tab
130
+ enable: 1
131
+ close: 1
132
+ open: 4
133
+
134
+ numpad:
135
+ desc: <modifier> + [trigger] = Numpad Mode ([num1]=1, [num5]=5, [num9]=9)
136
+ enable: 1
137
+ trigger: left_control
138
+
139
+ num0: b
140
+ num1: n
141
+ num2: m
142
+ num3: comma
143
+
144
+ num4: h
145
+ num5: j
146
+ num6: k
147
+
148
+ num7: y
149
+ num8: u
150
+ num9: i
151
+
152
+ remap capslock:
153
+ desc: Caps Lock = [to]/[alone]
154
+ enable: 1
155
+ to: left_control
156
+ alone: escape
157
+
158
+ remap l-shift:
159
+ desc: Left Shift = [to]/[alone]
160
+ enable: 1
161
+ to: left_shift
162
+ alone: left_shift
163
+
164
+ remap r-shift:
165
+ desc: Right Shift = [to]/[alone]
166
+ enable: 1
167
+ to: right_shift
168
+ alone: right_shift
169
+
170
+ custom:
171
+ desc: <modifier> + Custom Keys
172
+ enable: 1
173
+ rules:
174
+ # tab to enter
175
+ - from: tab
176
+ to: return_or_enter
177
+ # /(slash) to \(backslash)
178
+ - from: slash
179
+ to: backslash
180
+ # '(apostrophe) to `(backtick)
181
+ - from: quote
182
+ to: grave_accent_and_tilde
183
+ # ;(semicolon) to =(equal)
184
+ - from: semicolon
185
+ to: equal_sign
186
+ # p to +(plus)
187
+ - from: p
188
+ to: shift + equal_sign
189
+ # 7 to |(pipe)
190
+ - from: 7
191
+ to: shift + backslash
192
+
193
+
194
+ keyLabels:
195
+ spacebar: Space
196
+ return_or_enter: Enter
197
+ grave_accent_and_tilde: Backtick
198
+ japanese_eisuu: 英数
199
+ japanese_kana: かな
200
+