1620
|
1 ===============================================================================
|
|
2 = V I M T u t o r - 롛 1.5 =
|
|
3 ===============================================================================
|
|
4
|
|
5 Vim 夘 ⤘ 婮 ᡫ ⮜ , ᨘ
|
|
6 㩦 㚞 . 㚞
|
|
7 ᩫ ᯜ
|
|
8 ᤦ 嫜 硦 Vim ⤘ 㩞 ᡫ.
|
|
9
|
|
10 ⚚ 椦 嫘 驜 㚞
|
|
11 夘 25-30 , 餫 橦 椦 ⯜
|
|
12 .
|
|
13
|
|
14 㣘 㩦 壜. 㩫 ⤘
|
|
15 嚨 妬 嫜 ( 㩘
|
|
16 "Vimtutor" 夘 㛞 ⤘ 嚨).
|
|
17
|
|
18 夘 ᩫ 櫠 㚞 夘 ⤞ ⫩
|
|
19 驫 ᩡ 㩞. 夜 櫠
|
|
20 嫜 ៜ ੫. 椦
|
|
21 壜, ᩜ!
|
|
22
|
13231
|
23 騘, 嫜 櫠 㡫 Caps-Lock 夘 ⤦
|
1620
|
24 㩫 㡫 j 㩜 ⫩
|
|
25 驫 1.1 婜 椞.
|
|
26
|
|
27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
28 1.1:
|
|
29
|
|
30 ** 㩜 , 㩫 㡫 h,j,k,l 室. **
|
|
31 ^
|
|
32 k Hint: 㡫 h 夘 ' .
|
|
33 < h l > 㡫 l 夘 .
|
|
34 j 㡫 j ᡠ .
|
|
35 v
|
|
36
|
|
37 1. 婫 椞 ⮨ 韜 ᤜ.
|
|
38
|
|
39 2. 㩫 ⤦ 㡫 (j) ⮨ .
|
|
40 ---> 騘 ⨜ 嫜 棜 .
|
|
41
|
|
42 3. 餫 㡫, 嫜 1.2.
|
|
43
|
|
44 ਫ਼: ᢢ 㩘, 㩫 <ESC> 嫜
|
|
45 ᩫ. 㩫 ⢘.
|
|
46
|
|
47 ਫ਼: 㡫 ⧜ 婞 禬. hjkl
|
|
48 嫜 嫜 櫜, 梠 婜.
|
|
49
|
|
50 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
51 1.2: VIM
|
|
52
|
|
53 !! : ⩜ ᧦ 㣘, ᩫ 梦 !!
|
|
54
|
|
55 1. 㩫 㡫 <ESC> ( 婫 嚦 ᩫ).
|
|
56
|
|
57 2. 㩫: :q! <ENTER>.
|
|
58
|
|
59 ---> ⨮ ᡫ 驜 槦 ⮜ ᤜ.
|
|
60 ⢜ 驜 ⨟ 㩫:
|
|
61 :wq <ENTER>
|
|
62
|
|
63 3. 嫜 , 㩫
|
|
64 㡘 㚞. 夘: vimtutor <ENTER>
|
|
65 穘: vim tutor <ENTER>
|
|
66
|
|
67 ---> 'vim' 夜 ᡫ vim, 'tutor' 夘
|
|
68 ⢦ 驦.
|
|
69
|
|
70 4. ⮜ 穜 㣘 ⮜ 埞, ⩫
|
|
71 㣘 1 3 嫜 嫜 ᡫ.
|
|
72 㩫 1.3.
|
|
73 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
74 1.3: -
|
|
75
|
|
76 ** 婫 ᩫ 㩫 x ᯜ
|
|
77 㨘 . **
|
|
78
|
|
79 1. 婫 ⤞ --->.
|
|
80
|
|
81 2. 驜 , 婫 ⮨ 夘
|
|
82 㨘 .
|
|
83
|
|
84 3. 㩫 㡫 x ᯜ 磞 㨘.
|
|
85
|
|
86 4. ᙜ 㣘 2 ⮨ 4 ⮨ 櫘 夘 ੫.
|
|
87
|
|
88 ---> The ccow jumpedd ovverr thhe mooon.
|
|
89
|
|
90 5. 騘 夘 ੫, 夫 1.4.
|
|
91
|
|
92 : ⮜ 㚞, 㩫
|
|
93 眫, 夜 㩞.
|
|
94
|
|
95 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
96 1.4: -
|
|
97
|
|
98 ** 婫 ᩫ 㩫 i ᢢ 壜. **
|
|
99
|
|
100 1. 婫 ⮨ 髞 ⤞ --->.
|
|
101
|
|
102 2. ᤜ 髞 因 竜, 婫
|
|
103 髦 㨘 槦 壜.
|
|
104
|
|
105 3. 㩫 i 㩫 嫞 㡜.
|
|
106
|
|
107 4. 餜 ៜ ៦ 㩫 <ESC> ⯜
|
|
108 ᩫ. ᙜ 㣘 2 ⮨ 4 驜
|
|
109 櫘.
|
|
110
|
|
111 ---> There is text misng this .
|
|
112 ---> There is some text missing from this line.
|
|
113
|
|
114 5. 婫 ᤜ ⤦ 嫜
|
|
115 增.
|
|
116
|
|
117 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
118 1
|
|
119
|
|
120
|
|
121 1. ☪ 嫘 餫 嫜 㡫 hjkl.
|
|
122 h (⨘) j () k () l ()
|
|
123
|
|
124 2. 嫜 Vim ( %) ᯫ: vim <ENTER>
|
|
125
|
|
126 3. 嫜 ᯫ: <ESC> :q! <ENTER> 樨 .
|
|
127 ᯫ: <ESC> :wq <ENTER> 㡜 .
|
|
128
|
|
129 4. ᯜ ⤘ 㨘
|
|
130 ᩫ 㩫: x
|
|
131
|
|
132 5. ᚜ 壜 橦 婫 ᩫ ᯫ:
|
|
133 i 㩫 壜 <ESC>
|
|
134
|
|
135 : 餫 <ESC> 嫜 ᩫ
|
|
136 驜 磞 ⤞ .
|
|
137
|
|
138 騘 婫 2.
|
|
139
|
|
140 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
141 2.1:
|
|
142
|
|
143 ** ᯫ dw ᯜ ⮨ ⢦ 嘪 ⥞. **
|
|
144
|
|
145 1. 㩫 <ESC> 嫜 櫠 婫 ᩫ.
|
|
146
|
|
147 2. 婫 ⤞ --->.
|
|
148
|
|
149 3. 夜 ⥞ ⧜ .
|
|
150
|
|
151 4. ᯫ dw ᤜ ⥞ .
|
|
152
|
|
153 : ᣣ dw 椞 橦
|
|
154 嫜. ᯘ ៦, 㩫 <ESC>
|
|
155 㩫 .
|
|
156
|
|
157 ---> There are a some words fun that don't belong paper in this sentence.
|
|
158
|
|
159 5. ᙜ 㣘 3 4 ⮨ 櫘 夘 ੫
|
|
160 夜 2.2.
|
|
161
|
|
162 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
163 2.2:
|
|
164
|
|
165 ** 㩫 d$ ᯜ ⮨ ⢦ . **
|
|
166
|
|
167 1. 㩫 <ESC> 嫜 櫠 婫 ᩫ.
|
|
168
|
|
169 2. 婫 ⤞ --->.
|
|
170
|
|
171 3. 婫 ⢦ ੫ ( 髞 . ).
|
|
172
|
|
173 4. 㩫 d$ ᯜ ⮨ ⢦ .
|
|
174
|
|
175 ---> Somebody typed the end of this line twice. end of this line twice.
|
|
176
|
|
177 5. 夜 2.3 ᙜ 夜.
|
|
178
|
|
179
|
|
180
|
|
181
|
|
182
|
|
183
|
|
184
|
|
185 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
186 2.3:
|
|
187
|
|
188
|
|
189 d 夘 :
|
|
190
|
|
191 [] d 壜 d [] 壜
|
|
192 :
|
|
193 - 橜 (, ' =1).
|
|
194 d - .
|
|
195 壜 - 㩜 ( 婫).
|
|
196
|
|
197 婫 壜:
|
|
198 w - ⮨ ⢦ ⥞, ᤦ ᩫ.
|
|
199 e - ⮨ ⢦ ⥞, ᩫ.
|
|
200 $ - ⮨ ⢦ .
|
|
201
|
|
202 : 秦 ⫝̸, 餫 壜 橦
|
|
203 婫 ᩫ ᧦ 㩜
|
|
204 坜 婫 .
|
|
205
|
|
206
|
|
207
|
|
208 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
209 2.4: '-'
|
|
210
|
|
211 ** 㩫 dd ᯜ 梞 . **
|
|
212
|
|
213 嘪 櫞 桢 ,
|
|
214 Vim ᩠ 櫠 㫘 櫜 ᭜ d
|
|
215 ᯜ .
|
|
216
|
|
217 1. 婫 竜 ᩞ.
|
|
218 2. ᯫ dd ᯜ .
|
|
219 3. 騘 嫜 ⫘ .
|
|
220 4. ᯫ 2dd (嫜 --壜)
|
|
221 ᯜ .
|
|
222
|
|
223 1) Roses are red,
|
|
224 2) Mud is fun,
|
|
225 3) Violets are blue,
|
|
226 4) I have a car,
|
|
227 5) Clocks tell time,
|
|
228 6) Sugar is sweet
|
|
229 7) And so are you.
|
|
230
|
|
231 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
232 2.5:
|
|
233
|
|
234 ** 㩫 u ⩜ 圪 ,
|
|
235 U 驜 梞 . **
|
|
236
|
|
237 1. 婫 ⤞ --->
|
|
238 㩫 髦 ៦.
|
|
239 2. 㩫 x ᯜ 髦 磞 㨘.
|
|
240 3. 騘 㩫 u ⩜ ⤞ .
|
|
241 4. 驫 梘 餫 x.
|
|
242 5. 騘 㩫 ⤘ U ⯜
|
|
243 ᩫ.
|
|
244 6. 騘 㩫 u ⩜ U
|
|
245 磜 .
|
|
246 7. 騘 㩫 CTRL-R (餫 ⤦ 㡫 CTRL R)
|
|
247 ⨜ (娜 ⩜).
|
|
248
|
|
249 ---> Fiix the errors oon thhis line and reeplace them witth undo.
|
|
250
|
|
251 8. 夘 㩠 . 騘 夜
|
|
252 增 㣘 2.
|
|
253
|
|
254 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
255 2
|
|
256
|
|
257
|
|
258 1. ᯜ ⮨ ⢦ ⥞ ᯫ: dw
|
|
259
|
|
260 2. ᯜ ⮨ ⢦ ᯫ: d$
|
|
261
|
|
262 3. ᯜ 桢 ᯫ: dd
|
|
263
|
|
264 4. ᩫ 夘:
|
|
265
|
|
266 [] 壜 [] 壜
|
|
267 槦:
|
|
268 - 橜
|
|
269 - 夜, d
|
|
270 壜 - 㩜 , w (⥞),
|
|
271 $ (⢦ ), .
|
|
272
|
|
273 5. ⩜ 磜 ⨚, 㩫: u ( u)
|
|
274 ⩜ 梜 , 㩫: U ( U)
|
|
275 ⩜ ⩜, 㩫: CTRL-R
|
|
276
|
|
277 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
278 3.1:
|
|
279
|
|
280
|
|
281 ** 㩫 p 㩜 . **
|
|
282
|
|
283 1. 婫 髞 ᛘ.
|
|
284
|
|
285 2. 㩫 dd ᯜ 穜
|
|
286 ਠ 㣞 Vim.
|
|
287
|
|
288 3. 婫 ⧜ ᜠ
|
|
289 ⤞ .
|
|
290
|
|
291 4. 婫 ᩫ, 㩫 p ᢜ .
|
|
292
|
|
293 5. ᙜ 㣘 2 4 ᢜ 梜
|
|
294 ੫ .
|
|
295
|
|
296 d) Can you learn too?
|
|
297 b) Violets are blue,
|
|
298 c) Intelligence is learned,
|
|
299 a) Roses are red,
|
|
300
|
|
301 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
302 3.2:
|
|
303
|
|
304
|
|
305 ** 㩫 r 㨘 ᥜ 夘
|
|
306 . **
|
|
307
|
|
308 1. 婫 髞 ⤞ --->.
|
|
309
|
|
310 2. 婫 ⫩ 驫 夘 髦 ៦.
|
|
311
|
|
312 3. 㩫 r 㨘 妪 餜 ៦.
|
|
313
|
|
314 4. ᙜ 㣘 2 3 ⮨ 夘 ੫ 髞 .
|
|
315
|
|
316 ---> Whan this lime was tuoed in, someone presswd some wrojg keys!
|
|
317 ---> When this line was typed in, someone pressed some wrong keys!
|
|
318
|
|
319 5. 騘 夜 3.2.
|
|
320
|
|
321 : ᩫ 櫠 ⧜ 夜 㩞, 殠
|
|
322 検.
|
|
323
|
|
324 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
325 3.3:
|
|
326
|
|
327 ** ᥜ 㣘 梞 ⥞, 㩫 cw . **
|
|
328
|
|
329 1. 婫 髞 ⤞ --->.
|
|
330
|
|
331 2. 㩫 u ⥞ lubw.
|
|
332
|
|
333 3. 㩫 cw ੫ ⥞ ( 姫ਫ਼ , ᯫ 'ine'.)
|
|
334
|
|
335 4. 㩫 <ESC> 夜 棜 ៦ ( 髦
|
|
336 㨘 ).
|
|
337
|
|
338 5. ᙜ 㣘 3 4 ⮨ 櫦 髞 櫘 夘
|
|
339 因 竜.
|
|
340
|
|
341 ---> This lubw has a few wptfd that mrrf changing usf the change command.
|
|
342 ---> This line has a few words that need changing using the change command.
|
|
343
|
|
344 婫 櫠 cw 殠 椦 ᜠ ⥞, ᚜
|
|
345 婞 .
|
|
346
|
|
347 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
348 3.4: c
|
|
349
|
|
350
|
|
351 ** 嫘 因 壜 . **
|
|
352
|
|
353
|
|
354 1. 眠 因 槦 . 夘:
|
|
355
|
|
356 [] c 壜 c [] 壜
|
|
357
|
|
358 2. 壜 夘 ᢠ 因, w (⥞), $ (⢦ ), .
|
|
359
|
|
360 3. 嫜 髞 ⤞ --->.
|
|
361
|
|
362 4. 婫 髦 ៦.
|
|
363
|
|
364 5. ᯫ c$ ᤜ 梦 因 竜
|
|
365 㩫 <ESC>.
|
|
366
|
|
367 ---> The end of this line needs some help to make it like the second.
|
|
368 ---> The end of this line needs to be corrected using the c$ command.
|
|
369
|
|
370
|
|
371 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
372 3
|
|
373
|
|
374
|
|
375 1. 㩜 壜 梠 ⮜ , 㩫 p .
|
|
376 ⤦ 壜 ( ᭫
|
|
377 ᜠ .
|
|
378
|
|
379 2. 㩜 㨘 , 㩫 r
|
|
380 㨘 㩜 .
|
|
381
|
|
382 3. ⧜ ᥜ ⤦ 壜
|
|
383 ⮨ ⢦ 壜. .. ᯫ cw
|
|
384 ᥜ ⮨ ⢦ ⥞, c$ ᥜ
|
|
385 ⮨ ⢦ .
|
|
386
|
|
387 4. 夘:
|
|
388
|
|
389 [] c 壜 c [] 壜
|
|
390
|
|
391 騘 婫 棜 .
|
|
392
|
|
393
|
|
394 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
395 4.1:
|
|
396
|
|
397
|
|
398 ** 㩫 CTRL-g ⩞ ᩫ .
|
|
399 㩫 SHIFT-G . **
|
|
400
|
|
401 ਫ਼: ᩫ 桢 ⩜ ᧦ 㣘!!
|
|
402
|
|
403 1. 㩫 ⤦ 㡫 Ctrl 㩫 g . ᩫ
|
|
404 ⨦ 囘 椦 妬
|
|
405 婫. 嫜 㣘 3.
|
|
406
|
|
407 2. 㩫 shift-G 嫜 ⢦ 妬.
|
|
408
|
|
409 3. 㩫 㩘 shift-G.
|
|
410 ⯜ 㩘 㩜 髞 Ctrl-g.
|
|
411 ( 嫜 , 坦 椞).
|
|
412
|
|
413 4. 韜 嚦 , ⩫ 㣘 1 3.
|
|
414
|
|
415
|
|
416
|
|
417 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
418 4.2:
|
|
419
|
|
420
|
|
421 ** 㩫 / 磜 ᩞ ᮤ. **
|
|
422
|
|
423 1. ᩫ 㩫 㨘 / . 㩫 櫠
|
|
424 ☪ 坦 ⨦ 椞 : .
|
|
425
|
|
426 2. 騘 ᯫ 'errroor' <ENTER>. 夘 ⥞ ⢜ ᥜ.
|
|
427
|
|
428 3. ᥜ 因 ᩞ, 㩫 n .
|
|
429 ᥜ 因 ᩞ 埜 矬, 㩫 Shift-N .
|
|
430
|
|
431 4. ⢜ ᥜ ᩞ , 㩫 ? / .
|
|
432
|
|
433 ---> 㫞 ᩜ ⢦ 妬 婜 .
|
|
434
|
|
435 "errroor" is not the way to spell error; errroor is an error.
|
|
436
|
|
437
|
|
438
|
|
439 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
440 4.3:
|
|
441
|
|
442
|
|
443 ** 㩫 % 嫜 婫 ), ], } . **
|
|
444
|
|
445 1. 㩫 ᧦ (, [, {
|
|
446 ⤞ --->.
|
|
447
|
|
448 2. 騘 㩫 㨘 % .
|
|
449
|
|
450 3. ☪ ⧜ 夘 婫 ⤟ 碞.
|
|
451
|
|
452 4. 㩫 % 㩜 髞 碞
|
|
453 ( ).
|
|
454
|
|
455 ---> This ( is a test line with ('s, ['s ] and {'s } in it. ))
|
|
456
|
|
457 : 夘 㩠 ਫ਼ ᣣ
|
|
458 ⩜!
|
|
459
|
|
460
|
|
461
|
|
462 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
463 4.4:
|
|
464
|
|
465
|
|
466 ** ᯫ :s/old/new/g ᥜ 'new' 'old'. **
|
|
467
|
|
468 1. 婫 ⤞ --->.
|
|
469
|
|
470 2. ᯫ :s/thee/the <ENTER> . 驫 櫠 椦
|
|
471 髞 ᤠ .
|
|
472
|
|
473 3. 騘 ᯫ :s/thee/the/g 餫 ᩫ
|
|
474 . 梜 婜 .
|
|
475
|
|
476 ---> thee best time to see thee flowers is in thee spring.
|
|
477
|
|
478 4. ᥜ ៜ ᤠ 嘪 ,
|
|
479 ᯫ :#,#s/old/new/g 槦 #,# .
|
|
480 ᯫ :%s/old/new/g ᥜ ៜ ᤠ 梦 .
|
|
481
|
|
482
|
|
483
|
|
484
|
|
485 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
486 4
|
|
487
|
|
488
|
|
489 1. Ctrl-g 坜 ⩞ ᩫ .
|
|
490 Shift-G 夜 ⢦ 妬. 뤘
|
|
491 磜 Shift-G 夜 夞 .
|
|
492
|
|
493 2. ᭦ / 磜 ᩞ ᮤ
|
|
494 ᩞ. ᭦ ? 磜 ᩞ ᮤ
|
|
495 ᩞ. 㫞 㩫 n 嫜
|
|
496 棜 ᤠ 因 矬 Shift-N ᥜ
|
|
497 埜 矬.
|
|
498
|
|
499 3. 餫 % 橦 ☪ 夘 (,),[,],{, } 坜
|
|
500 婫 娠 .
|
|
501
|
|
502 4. ᩫ new 髦 old ᯫ :s/old/new
|
|
503 ᩫ new 'old' ᯫ :s/old/new/g
|
|
504 ᩫ ᩜ # ᯫ :#,#s/old/new/g
|
|
505 ᩫ 婜 ᯫ :%s/old/new/g
|
|
506 髞 ਫ਼ ៜ ⩫ ⤘ 'c' "%s/old/new/gc
|
|
507
|
|
508 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
509 5.1:
|
|
510
|
|
511
|
|
512 ** ᯫ :! 磜 ⩜. **
|
|
513
|
|
514 1. 㩫 : ⩜ ⨦
|
|
515 椞. ⧜ 驜 .
|
|
516
|
|
517 2. 騘 㩫 ! (). ⧜ ⩜
|
|
518 㧦 .
|
|
519
|
|
520 3. ᛜ ᯫ ls ! 㩫 <ENTER>.
|
|
521 婜 婫 暦 , 㩘
|
|
522 . 㩫 :!dir ls 眠.
|
|
523
|
|
524 ---> ਫ਼: 夘 ⩜ 㧦
|
|
525 槦.
|
|
526
|
|
527 ---> ਫ਼: : ⧜ 坦 餫 <ENTER>.
|
|
528
|
|
529
|
|
530
|
|
531 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
532 5.2:
|
|
533
|
|
534
|
|
535 ** 驜 ᚜ ᤘ , ᯫ :w . **
|
|
536
|
|
537 1. ᯫ :!dir :!ls 婫 暦 .
|
|
538 웞 ⨜ 櫠 ⧜ 㩜 <ENTER> .
|
|
539
|
|
540 2. ⥫ ⤘ 椦 妬 ᨮ 棘, TEST.
|
|
541
|
|
542 3. 騘 ᯫ: :w TEST (槦 TEST 夘 椦 妬 ⥘).
|
|
543
|
|
544 4. 靜 梦 (vim Tutor) 椦 TEST.
|
|
545 穜, ᯫ :!dir 嫜 ᢦ .
|
|
546
|
|
547 ---> 驫 櫠 夘 Vim 夘 椦
|
|
548 妬 TEST, 㫘 嚨 tutor 櫘 驘.
|
|
549
|
|
550 5. 騘 ᯫ ᭦ (MS-DOS): :!del TEST
|
|
551
|
|
552
|
|
553
|
|
554 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
555 5.3:
|
|
556
|
|
557
|
|
558 ** 驜 㣘 妬, ᯫ :#,# w **
|
|
559
|
|
560 1. ꢢ , ᯫ :!dir :!ls 婫
|
|
561 ᢦ ⥫ ⤘ ᢢ 椦 妬 TEST.
|
|
562
|
|
563 2. 婫 ⨦ 囘 㩫
|
|
564 Ctrl-g 嫜 .
|
|
565 !
|
|
566
|
|
567 3. 騘 夜 ⨦ 囘 㩫 Ctrl-g .
|
|
568 !
|
|
569
|
|
570 4. 驜 ⤘ 㣘 , ᯫ :#,# w TEST
|
|
571 槦 #,# 穘 (,) TEST
|
|
572 椦 妬 .
|
|
573
|
|
574 5. , 嫜 櫠 夘 :!dir ᯜ.
|
|
575
|
|
576
|
|
577 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
578 5.4:
|
|
579
|
|
580
|
|
581 ** ᚜ 棜 妬, ᯫ :r **
|
|
582
|
|
583 1. ᯫ :!dir 嫜 櫠 TEST ᨮ .
|
|
584
|
|
585 2. 㩫 ⨦ 囘.
|
|
586
|
|
587 : 櫦 ⩜ 㣘 3 嫜 5.3.
|
|
588 嫜 .
|
|
589
|
|
590 3. 騘 㩫 TEST 餫 :r TEST
|
|
591 槦 TEST 夘 椦 妬.
|
|
592
|
|
593 : 嫘 餫 婡
|
|
594 ☪.
|
|
595
|
|
596 4. 穜 櫠 㟞,
|
|
597 㩫 櫠 ᨮ 騘 嚨 㣘 5.3,
|
|
598 ⡛ 妬.
|
|
599
|
|
600 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
601 5
|
|
602
|
|
603
|
|
604 1. :! .
|
|
605
|
|
606 㩠 嚣 夘 (MS-DOS):
|
|
607 :!dir - ᤠ 婫 暦.
|
|
608 :!del - ᭜ .
|
|
609
|
|
610 2. :w ᭜ Vim 婡 椦 .
|
|
611
|
|
612 3. :#,#w 靜 # ⮨ # .
|
|
613
|
|
614 4. :r 婡 ᢢ ⩘
|
|
615 ⮦ ⩞ .
|
|
616
|
|
617
|
|
618
|
|
619
|
|
620
|
|
621
|
|
622
|
|
623 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
624 6.1:
|
|
625
|
|
626
|
|
627 ** 㩫 o 奜
|
|
628 嫜 ᩫ ⤦. **
|
|
629
|
|
630 1. 婫 ⤞ --->.
|
|
631
|
|
632 2. 㩫 o () 奜
|
|
633 嫜 ᩫ ⤦.
|
|
634
|
|
635 3. 騘 ᯫ ⤞ ---> 㩫 <ESC>
|
|
636 嫜 ᩫ ⤦.
|
|
637
|
|
638 ---> After typing o the cursor is placed on the open line in Insert mode.
|
|
639
|
|
640 4. 奜 , 㩫 ⤘
|
|
641 O, ⤘ o. ᩫ .
|
|
642 嚜 餫 Shift-O 橦 ☪ 夘
|
|
643
|
|
644
|
|
645
|
|
646 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
647 6.2:
|
|
648
|
|
649 ** 㩫 a ᚜ 壜 . **
|
|
650
|
|
651 1. 婫 ⢦ 髞
|
|
652 ⤞ ---> 餫 $ ᩫ.
|
|
653
|
|
654 2. 㩫 ⤘ a () ⩜ 壜 㨘
|
|
655 夘 . ( A ⫝̸ ⢦
|
|
656 ).
|
|
657
|
|
658 ਫ਼: 皜 i , 㨘,
|
|
659 壜 , <ESC>, -, ⢦, x, 椦
|
|
660 椦 ⩜ ⢦ !
|
|
661
|
|
662 3. 驫 騘 髞 . 驫 婞 櫠 㡞 夘
|
|
663 因 ᩫ ⤦ ᩫ ,
|
|
664 ⩞ ᚜ 壜.
|
|
665
|
|
666 ---> This line will allow you to practice
|
|
667 ---> This line will allow you to practice appending text to the end of a line.
|
|
668
|
|
669 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
670 6.3:
|
|
671
|
|
672
|
|
673 ** 㩫 R ᥜ 櫜 ⤘ 㨜. **
|
|
674
|
|
675 1. 婫 髞 ⤞ --->.
|
|
676
|
|
677 2. 㩫 髞 ⥞ 夘
|
|
678 竜 ⤞ ---> ( ⥞ 'last').
|
|
679
|
|
680 3. 㩫 騘 R ᥫ 梦 ⤦ 髞
|
|
681 ᭦ 壜 驫 ᤜ 髞 因
|
|
682 竜.
|
|
683
|
|
684 ---> To make the first line the same as the last on this page use the keys.
|
|
685 ---> To make the first line the same as the second, type R and the new text.
|
|
686
|
|
687 4. 驫 櫠 櫘 <ESC> 嫜, ⤜ 㧦
|
|
688 ૦ 壜.
|
|
689
|
|
690
|
|
691
|
|
692 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
693 6.4:
|
|
694
|
|
695
|
|
696 ** 婫 ⫩ 驫 㫞 ᩫ
|
|
697 - **
|
|
698
|
|
699 1. ᥫ 'ignore' ᚦ:
|
|
700 /ignore
|
|
701 婫 餫 㡫 n.
|
|
702
|
|
703 2. ⩫ 'ic' (Ignore case) ᭦:
|
|
704 :set ic
|
|
705
|
|
706 3. ᥫ 騘 'ignore' 餫: n
|
|
707 婫 㫞 棘 餫 㡫 n
|
|
708
|
|
709 4. ⩫ 'hlsearch' 'incsearch':
|
|
710 :set hls is
|
|
711
|
|
712 5. ᚜ 騘 㫞, 嫜 夜
|
|
713 /ignore
|
|
714
|
|
715 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
716 6
|
|
717
|
|
718
|
|
719 1. 餫 o 嚜
|
|
720 ᩫ ⤦.
|
|
721
|
|
722 2. 㩫 a ᚜ 壜 㨘 夘
|
|
723 ☪. 餫 A 棘 ⫝̸ 壜 ⢦
|
|
724 .
|
|
725
|
|
726 3. 餫 R ⨮ ᩫ ᩫ ⮨
|
|
727 <ESC> ⢟.
|
|
728
|
|
729 4. ᭦ ":set xxx" 坜 "xxx".
|
|
730
|
|
731
|
|
732
|
|
733
|
|
734
|
|
735
|
|
736
|
|
737
|
|
738 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
739 7: ON-LINE
|
|
740
|
|
741
|
|
742 ** 㩫 on-line 穫 㟜 **
|
|
743
|
|
744 Vim ⮜ ⤘ on-line 穫 㟜. 㩜,
|
|
745 ᩫ ᧦ :
|
|
746 - 㩫 㡫 <HELP> ( ⮜ ᧦)
|
|
747 - 㩫 㡫 <F1> ( ⮜ ᧦)
|
|
748 - ᯫ :help <ENTER>
|
|
749
|
|
750 ᯫ :q <ENTER> 婜 㟜.
|
|
751
|
|
752 嫜 嫜 㟜 ៜ 壜, 夦 ᣜ
|
|
753 ":help". ᩫ ( <ENTER>):
|
|
754
|
|
755 :help w
|
|
756 :help c_<T
|
|
757 :help insert-index
|
|
758 :help user-manual
|
|
759
|
|
760
|
|
761 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
762 8: SCRIPT
|
|
763
|
|
764 ** 㩫 Vim **
|
|
765
|
|
766 Vim ⮜ 櫜 ' , Vi,
|
|
767 櫜 夘 ⤘. 婜 嫜
|
|
768 櫜 ⧜ ᥜ ⤘ "vimrc".
|
|
769
|
|
770 1. 婫 餦 "vimrc", 穫 :
|
|
771 :edit ~/.vimrc Unix
|
|
772 :edit $VIM/_vimrc MS-Windows
|
|
773
|
|
774 2. 騘 ᚜ 壜 嚣 "vimrc":
|
|
775 :read $VIMRUNTIME/vimrc_example.vim
|
|
776
|
|
777 3. ᯫ :
|
|
778 :write
|
|
779
|
|
780 棜 㩜 Vim 㩜 ૠ
|
|
781 礫. 嫜 ⩜ 梜 飜 '
|
|
782 "vimrc".
|
|
783
|
|
784 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
785
|
|
786 餜 Vim Tutor. 㫘 驜 礫
|
|
787 增 ᡫ Vim, ᮠ 橞 驫 ⯜
|
|
788 㩜 ᡫ 硦. ⮜
|
|
789 ⤞ 嘩 Vim ⮜ ᨘ . ᩫ
|
|
790 槠 因 㩞:
|
|
791 ":help user-manual".
|
|
792
|
|
793 ᙘ ⫞, 㤜 :
|
|
794 Vim - Vi Improved - by Steve Oualline
|
|
795 Publisher: New Riders
|
|
796 髦 ⤦ Vim.
|
|
797 嫜 㩠 ᨠ.
|
|
798 ᨮ 嚣 検.
|
|
799 嫜 http://iccf-holland.org/click5.html
|
|
800
|
|
801 夘 櫜 櫜 Vi Vim,
|
|
802 婞 飜:
|
|
803 Learning the Vi Editor - by Linda Lamb
|
|
804 Publisher: O'Reilly & Associates Inc.
|
|
805 夘 ⤘ ៜ ᤫ ⢜
|
|
806 ᤜ Vi.
|
|
807 ⡫ ⡛ ⮜ 棘 圪 Vim.
|
|
808
|
|
809 㚞 ᭫ Michael C. Pierce Robert K. Ware,
|
|
810 Colorado School of Mines 餫 ✪ Charles Smith,
|
|
811 Colorado State University. E-mail: bware@mines.colorado.edu.
|
|
812
|
|
813 Vim Bram Moolenaar.
|
|
814
|
|
815 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|