comparison ccdef/ccdef.kinput2.egg @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 ## Egg が好きな人の為の ccdef for kinput2
2 ## by nayuta@is.s.u-tokyo.ac.jp
3
4 defmode Ascii ZenkakuAscii Hiragana Katakana JIS All
5
6 initialmode Hiragana
7
8 casesensitive
9 autofix
10
11 mode Hiragana "[あ]" fallthrough All
12 include 'rule.hiragana.egg'
13
14 "n" EXITMODE "ん"
15 "" 'q' "" goto Ascii
16 "" 'Q' "" goto ZenkakuAscii
17
18 "n" ' ' "ん" convert-next-or-move-top-or-sendback
19 "n" '^\\' "ん" end-conversion goto Hiragana
20 "n" '^@' "ん" convert-or-fix1
21 "n" '^A' "ん" move-top
22 "n" '^B' "ん" backward
23 "n" '^D' "ん" delete-or-cancel
24 "n" '^E' "ん" move-bottom
25 "n" '^F' "ん" forward
26 "n" '^I' "ん" shrink
27 "n" '^J' "ん" fix
28 "n" '^K' "ん" kill-line
29 "n" '^L' "ん" fix
30 "n" '^M' "ん" fix
31 "n" '^N' "ん" next
32 "n" '^O' "ん" expand
33 "n" '^P' "ん" previous
34 "n" '^Q' "ん" goto PREV
35 "n" '^W' "ん" convert
36 "n" '^Z' "ん" convert-s
37 "" control-underscore "ん" goto JIS
38
39 "n" mod1-less "ん" to-hankaku
40 "n" mod1-greater "ん" to-zenkaku
41 "n" mod1-i "ん" shrink-s
42 "n" mod1-n "ん" next-s
43 "n" mod1-o "ん" expand-s
44 "n" mod1-p "ん" previous-s
45 "n" mod1-w "ん" convert-s
46 "n" mod1-h "ん" to-hiragana
47 "n" mod1-k "ん" to-katakana
48 "n" mod1-x "ん" to-hankaku
49 "n" mod1-less "ん" to-hankaku
50 "n" mod1-greater "ん" to-zenkaku
51 "n" mod1-control-h "ん" goto Hiragana
52 "n" mod1-control-k "ん" goto Katakana
53 "n" mod1-q "ん" goto Ascii
54 "n" mod1-shift-q "ん" goto Ascii
55 "n" mod1-s "ん" select-s
56 "n" mod1-shift-s "ん" select-s
57 "n" mod1-z "ん" select goto ZenkakuAscii
58 "n" mod1-shift-z "ん" select goto ZenkakuAscii
59 "n" control-Kanji "ん" end-conversion goto Hiragana
60 "n" shift-space "ん" end-conversion goto Hiragana
61 "n" Kanji "ん" end-conversion goto Hiragana
62 "n" shift-Muhenkan "ん" to-hiragana
63 "n" Muhenkan "ん" to-katakana
64
65 "n" Right "ん" forward
66 "n" Left "ん" backward
67 "n" Down "ん" next
68 "n" Up "ん" previous
69 "n" shift-Right "ん" expand
70 "n" shift-Left "ん" shrink
71
72 "n" F1 "ん" beep
73 "n" F2 "ん" beep
74 "n" F3 "ん" goto JIS
75 "n" F4 "ん" register
76 "n" F5 "ん" to-zenkaku
77 "n" F6 "ん" to-hankaku
78 "n" F7 "ん" to-katakana
79 "n" F8 "ん" to-hiragana
80 "n" F9 "ん" convert-move-top-or-sendback
81 "n" F10 "ん" beep
82 "n" F11 "ん" beep
83 "n" F12 "ん" beep
84 # "n" F13 "ん" end-conversion goto Hiragana
85 "n" F13 "ん" beep
86 "n" F14 "ん" beep
87 "n" F15 "ん" beep
88 "n" F16 "ん" beep
89 "n" F17 "ん" beep
90 "n" F18 "ん" beep
91 "n" F19 "ん" beep
92 "n" F20 "ん" beep
93
94 "n" '^^' "ん" symbol-input
95 "n" '^[' "ん" add-modifier-mod1
96 "n" @keypad "ん&"
97 "n" @printable "ん&"
98 endmode
99
100 mode Katakana "[ア]" fallthrough All
101 include 'rule.katakana.egg'
102
103 "n" EXITMODE "ン"
104 "" 'q' "" goto Ascii
105 "" 'Q' "" goto ZenkakuAscii
106
107 "n" ' ' "ン" convert-next-or-move-top-or-sendback
108 "n" '^\\' "ン" end-conversion goto Hiragana
109 "n" '^@' "ン" convert-or-fix1
110 "n" '^A' "ン" move-top
111 "n" '^B' "ン" backward
112 "n" '^D' "ン" delete-or-cancel
113 "n" '^E' "ン" move-bottom
114 "n" '^F' "ン" forward
115 "n" '^I' "ン" shrink
116 "n" '^J' "ン" fix
117 "n" '^K' "ン" kill-line
118 "n" '^L' "ン" fix
119 "n" '^M' "ン" fix
120 "n" '^N' "ン" next
121 "n" '^O' "ン" expand
122 "n" '^P' "ン" previous
123 "n" '^Q' "ン" goto PREV
124 "n" '^W' "ン" convert
125 "n" '^Z' "ン" convert-s
126 "" control-underscore "ン" goto JIS
127
128 "n" mod1-less "ン" to-hankaku
129 "n" mod1-greater "ン" to-zenkaku
130 "n" mod1-i "ン" shrink-s
131 "n" mod1-n "ン" next-s
132 "n" mod1-o "ン" expand-s
133 "n" mod1-p "ン" previous-s
134 "n" mod1-w "ン" convert-s
135 "n" mod1-h "ン" to-hiragana
136 "n" mod1-k "ン" to-katakana
137 "n" mod1-x "ン" to-hankaku
138 "n" mod1-less "ン" to-hankaku
139 "n" mod1-greater "ン" to-zenkaku
140 "n" mod1-control-h "ン" goto Hiragana
141 "n" mod1-control-k "ン" goto Katakana
142 "n" mod1-q "ン" goto Ascii
143 "n" mod1-shift-q "ン" goto Ascii
144 "n" mod1-s "ン" select-s
145 "n" mod1-shift-s "ン" select-s
146 "n" mod1-z "ン" select goto ZenkakuAscii
147 "n" mod1-shift-z "ン" select goto ZenkakuAscii
148 "n" control-Kanji "ン" end-conversion goto Hiragana
149 "n" shift-space "ン" end-conversion goto Hiragana
150 "n" Kanji "ン" end-conversion goto Hiragana
151 "n" shift-Muhenkan "ン" to-hiragana
152 "n" Muhenkan "ン" to-katakana
153
154 "n" Right "ン" forward
155 "n" Left "ン" backward
156 "n" Down "ン" next
157 "n" Up "ン" previous
158 "n" shift-Right "ン" expand
159 "n" shift-Left "ン" shrink
160
161 "n" F1 "ン" beep
162 "n" F2 "ン" beep
163 "n" F3 "ン" goto JIS
164 "n" F4 "ン" register
165 "n" F5 "ン" to-zenkaku
166 "n" F6 "ン" to-hankaku
167 "n" F7 "ン" to-katakana
168 "n" F8 "ン" to-hiragana
169 "n" F9 "ン" convert-move-top-or-sendback
170 "n" F10 "ン" beep
171 "n" F11 "ン" beep
172 "n" F12 "ン" beep
173 # "n" F13 "ン" end-conversion goto Hiragana
174 "n" F13 "ン" beep
175 "n" F14 "ン" beep
176 "n" F15 "ン" beep
177 "n" F16 "ン" beep
178 "n" F17 "ン" beep
179 "n" F18 "ン" beep
180 "n" F19 "ン" beep
181 "n" F20 "ン" beep
182
183 "n" '^^' "ン" symbol-input
184 "n" '^[' "ン" add-modifier-mod1
185 "n" @keypad "ン&"
186 "n" @printable "ン&"
187 endmode
188
189 mode Ascii "[aa]" fallthrough All
190 "" '^G' "" goto PREV
191 "" '^M' "" goto PREV
192 "" '^Q' "" goto PREV
193 endmode
194
195 mode ZenkakuAscii "[a]" fallthrough All
196 include 'rule.zascii'
197 "" '^G' "" goto PREV
198 "" '^M' "" goto PREV
199 "" '^Q' "" goto PREV
200 endmode
201
202 mode JIS "[JIS]"
203 "" ENTERMODE "" jiscode-begin
204 "" EXITMODE "" jiscode-end
205 "" '0' "0"
206 "" '1' "1"
207 "" '2' "2"
208 "" '3' "3"
209 "" '4' "4"
210 "" '5' "5"
211 "" '6' "6"
212 "" '7' "7"
213 "" '8' "8"
214 "" '9' "9"
215 "" 'a' "A"
216 "" 'b' "B"
217 "" 'c' "C"
218 "" 'd' "D"
219 "" 'e' "E"
220 "" 'f' "F"
221 "" 'A' "A"
222 "" 'B' "B"
223 "" 'C' "C"
224 "" 'D' "D"
225 "" 'E' "E"
226 "" 'F' "F"
227 "" '^G' "" goto PREV
228 "" '^H' "" backspace
229 "" '^M' "" goto PREV
230 "" '^Q' "" goto PREV
231 "" @ascii "" beep
232 endmode
233
234 mode All "?"
235 "" ' ' "" convert-next-or-move-top-or-sendback
236 "" '^\\' "" end-conversion goto Hiragana
237 "" '^@' "" convert-or-fix1
238 "" '^A' "" move-top
239 "" '^B' "" backward
240 "" '^C' "" clear-or-cancel
241 "" '^D' "" delete-or-cancel
242 "" '^E' "" move-bottom
243 "" '^F' "" forward
244 "" '^G' "" clear-or-cancel
245 "" '^H' "" backspace-or-cancel
246 "" '^I' "" shrink
247 "" '^J' "" fix-or-sendback
248 "" '^K' "" kill-line
249 "" '^L' "" fix
250 # "" '^M' "" fix-or-cr
251 "" '^M' "" fix-or-sendback
252 "" '^N' "" next
253 "" '^O' "" expand
254 "" '^P' "" previous
255 "" '^Q' "" goto PREV
256 "" '^W' "" convert
257 "" '^Z' "" convert-s
258 "" control-underscore "" goto JIS
259
260 "" mod1-less "" to-hankaku
261 "" mod1-greater "" to-zenkaku
262 "" mod1-i "" shrink-s
263 "" mod1-n "" next-s
264 "" mod1-o "" expand-s
265 "" mod1-p "" previous-s
266 "" mod1-w "" convert-s
267 "" mod1-h "" to-hiragana
268 "" mod1-k "" to-katakana
269 "" mod1-x "" to-hankaku
270 "" mod1-less "" to-hankaku
271 "" mod1-greater "" to-zenkaku
272
273 "" mod1-control-h "" goto Hiragana
274 "" mod1-control-k "" goto Katakana
275 "" mod1-q "" goto Ascii
276 "" mod1-shift-q "" goto Ascii
277 "" mod1-s "" select-s
278 "" mod1-shift-s "" select-s
279 "" mod1-z "" select goto ZenkakuAscii
280 "" mod1-shift-z "" select goto ZenkakuAscii
281
282 "" control-Kanji "" end-conversion goto Hiragana
283 "" shift-space "" end-conversion goto Hiragana
284 "" Kanji "" end-conversion goto Hiragana
285 "" shift-Muhenkan "" to-hiragana
286 "" Muhenkan "" to-katakana
287
288 "" Right "" forward
289 "" Left "" backward
290 "" Down "" next
291 "" Up "" previous
292 "" shift-Right "" expand
293 "" shift-Left "" shrink
294 "" Delete "" backspace-or-cancel
295 "" BackSpace "" backspace-or-cancel
296
297 "" F1 "" beep
298 "" F2 "" beep
299 "" F3 "" goto JIS
300 "" F4 "" register
301 "" F5 "" to-zenkaku
302 "" F6 "" to-hankaku
303 "" F7 "" to-katakana
304 "" F8 "" to-hiragana
305 "" F9 "" convert-move-top-or-sendback
306 "" F10 "" convert-next-or-move-top-or-sendback
307 "" F11 "" beep
308 "" F12 "" beep
309 # "" F13 "" end-conversion goto Hiragana
310 "" F13 "" beep
311 "" F14 "" beep
312 "" F15 "" beep
313 "" F16 "" beep
314 "" F17 "" beep
315 "" F18 "" beep
316 "" F19 "" beep
317 "" F20 "" beep
318
319 "" '^^' "" symbol-input
320 "" '^[' "" add-modifier-mod1
321 "" '^]' "^]"
322 "" @keypad "&"
323 "" @printable "&"
324 endmode