PK œqhY๎ถJ‚฿F฿F)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/proc/self/root/proc/self/root/usr/share/vim/vim80/tutor/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/proc/self/root/proc/self/root/usr/share/vim/vim80/tutor/tutor.ko.utf-8

===============================================================================
=    ๋น” ๊ธธ์žก์ด (VIM Tutor) ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค    -      Version 1.5      =
===============================================================================

     ๋น”(Vim)์€ ์ด ๊ธธ์žก์ด์—์„œ ๋‹ค ์„ค๋ช…ํ•  ์ˆ˜ ์—†์„ ๋งŒํผ ๋งŽ์€ ๋ช…๋ น์„ ๊ฐ€์ง„
     ๋งค์šฐ ๊ฐ•๋ ฅํ•œ ํŽธ์ง‘๊ธฐ์ž…๋‹ˆ๋‹ค. ์ด ๊ธธ์žก์ด๋Š” ๋น”์„ ์‰ฝ๊ฒŒ ์ „์ฒœํ›„ ํŽธ์ง‘๊ธฐ๋กœ ์‚ฌ์šฉํ• 
     ์ˆ˜ ์žˆ๋„๋ก ์ถฉ๋ถ„ํ•œ ๋ช…๋ น์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

     ์ด ๊ธธ์žก์ด๋ฅผ ๋–ผ๋Š” ๋ฐ์—๋Š” ์‹ค์Šตํ•˜๋Š” ๋ฐ์— ์–ผ๋งˆ๋‚˜ ์‹œ๊ฐ„์„ ์“ฐ๋Š” ๊ฐ€์— ๋”ฐ๋ผ์„œ
     25-30 ๋ถ„ ์ •๋„๊ฐ€ ๊ฑธ๋ฆฝ๋‹ˆ๋‹ค.

     ์ด ์—ฐ์Šต์— ํฌํ•จ๋œ ๋ช…๋ น์€ ๋‚ด์šฉ์„ ๊ณ ์นฉ๋‹ˆ๋‹ค. ์ด ํŒŒ์ผ์˜ ๋ณต์‚ฌ๋ณธ์„ ๋งŒ๋“ค์–ด์„œ
     ์—ฐ์Šตํ•˜์„ธ์š”. (vimtutor ๋ฅผ ํ†ตํ•ด ์‹œ์ž‘ํ–ˆ๋‹ค๋ฉด, ์ด๋ฏธ ๋ณต์‚ฌ๋ณธ์„ ์‚ฌ์šฉํ•˜๋Š”
     ์ค‘์ž…๋‹ˆ๋‹ค.)

     ์ค‘์š”ํ•œ ๊ฒƒ์€, ์ด ๊ธธ์žก์ด๊ฐ€ ์ง์ ‘ ์จ๋ณด๋ฉด์„œ ๋ฐฐ์šฐ๋„๋ก ๊ณ ๋ ค๋˜์–ด ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
     ๋ช…๋ น์„ ์ œ๋Œ€๋กœ ์ตํžˆ๋ ค๋ฉด, ์ง์ ‘ ์‹คํ–‰ํ•ด๋ณด๋Š” ๊ฒƒ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ๋‚ด์šฉ์„ ์ฝ๋Š”
     ๊ฒƒ๋งŒ์œผ๋กœ๋Š”, ๋ช…๋ น์„ ์žŠ์–ด๋ฒ„๋ฆฌ๊ฒŒ ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.

     ์ž ์ด์ œ, Caps Lock(Shift-Lock) ํ‚ค๊ฐ€ ๋ˆŒ๋ ค์žˆ์ง€ ์•Š์€์ง€ ํ™•์ธํ•ด๋ณด์‹œ๊ณ , j ํ‚ค๋ฅผ
     ์ถฉ๋ถ„ํžˆ ๋ˆŒ๋Ÿฌ์„œ Lesson 1.1์ด ํ™”๋ฉด์— ๊ฐ€๋“ ์ฐจ๋„๋ก ์›€์ง์—ฌ๋ด…์‹œ๋‹ค.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 1.1:  ์ปค์„œ ์›€์ง์ด๊ธฐ

   ** ์ปค์„œ๋ฅผ ์›€์ง์ด๋ ค๋ฉด, ํ‘œ์‹œ๋œ ๋Œ€๋กœ h,j,k,l ํ‚ค๋ฅผ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค. **
             ^
             k              ํžŒํŠธ:  h ํ‚ค๋Š” ์™ผ์ชฝ์— ์žˆ์œผ๋ฉฐ, ์™ผ์ชฝ์œผ๋กœ ์›€์ง์ž…๋‹ˆ๋‹ค.
       < h       l >               l ํ‚ค๋Š” ์˜ค๋ฅธ์ชฝ์— ์žˆ์œผ๋ฉฐ, ์˜ค๋ฅธ์ชฝ์œผ๋กœ
             j                     ์›€์ง์ž…๋‹ˆ๋‹ค.
             v                     j ํ‚ค๋Š” ์•„๋ž˜๋ฐฉํ–ฅ ํ™”์‚ดํ‘œ์ฒ˜๋Ÿผ ์ƒ๊ฒผ์Šต๋‹ˆ๋‹ค.

  1. ์ต์ˆ™ํ•ด์งˆ ๋•Œ๊นŒ์ง€ ์ปค์„œ๋ฅผ ์Šคํฌ๋ฆฐ ์ƒ์—์„œ ์›€์ง์—ฌ ๋ณด์‹ญ์‹œ์˜ค.

  2. ์•„๋ž˜ ๋ฐฉํ–ฅํ‚ค (j)๋ฅผ ๋ฐ˜๋ณต์ž…๋ ฅ์ด ๋  ๋•Œ๊นŒ์ง€ ๋ˆ„๋ฅด๊ณ  ๊ณ„์‹ญ์‹œ์˜ค.
---> ์ด์ œ ๋‹ค์Œ lesson์œผ๋กœ ๊ฐ€๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

  3. ์•„๋ž˜ ๋ฐฉํ–ฅํ‚ค๋ฅผ ์ด์šฉํ•˜์—ฌ, Lesson 1.2 ๋กœ ๊ฐ€์‹ญ์‹œ์˜ค.

์ฐธ๊ณ : ์›ํ•˜์ง€ ์•Š๋Š” ๋ฌด์–ธ๊ฐ€๊ฐ€ ์ž…๋ ฅ์ด ๋˜์—ˆ๋‹ค๋ฉด, <ESC>๋ฅผ ๋ˆŒ๋Ÿฌ์„œ, ๋ช…๋ น ๋ชจ๋“œ๋กœ
      ๋Œ์•„๊ฐ€์‹ญ์‹œ์˜ค. ๊ทธ ํ›„์— ์›ํ•˜๋Š” ๋ช…๋ น์„ ๋‹ค์‹œ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค.

์ฐธ๊ณ : ์ปค์„œํ‚ค ๋˜ํ•œ ์ž‘๋™ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ hjkl์— ์ต์ˆ™ํ•ด์ง€๋ฉด, ์ปค์„œํ‚ค๋ณด๋‹ค
      ํ›จ์”ฌ ๋น ๋ฅด๊ฒŒ ์ด๋™ํ•  ์ˆ˜ ์žˆ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     Lesson 1.2: ๋น”์„ ์‹œ์ž‘ํ•˜๊ณ  ๋๋‚ด๊ธฐ


  !! ์ฃผ์˜: ์•„๋ž˜ ์žˆ๋Š” ๋‹จ๊ณ„๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์ „์—, ์ด lesson ์ „์ฒด๋ฅผ ์ฝ์œผ์‹ญ์‹œ์˜ค!!

  1. <ESC> ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ํ™•์‹คํ•˜๊ฒŒ ๋ช…๋ น ๋ชจ๋“œ๋กœ ๋น ์ ธ ๋‚˜์˜ต๋‹ˆ๋‹ค.

  2. ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค:    :q! <ENTER>

---> ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด, ๋ฐ”๋€ ๋‚ด์šฉ์„ *์ €์žฅํ•˜์ง€ ์•Š๊ณ * ํŽธ์ง‘๊ธฐ๋ฅผ ๋น ์ ธ๋‚˜๊ฐ‘๋‹ˆ๋‹ค.
     ์ €์žฅํ•œ ํ›„ ๋น ์ ธ๋‚˜๊ฐ€๋ ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค:
                                :wq <ENTER>

  3. ์‰˜ ํ”„๋กฌํ”„ํŠธ๊ฐ€ ๋ณด์ธ๋‹ค๋ฉด, ๋‹ค์‹œ ๊ธธ์žก์ด๋กœ ๋Œ์•„์˜ค๊ธฐ ์œ„ํ•ด ๋‹ค์Œ๊ณผ ๊ฐ™์ด
     ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
                                vimtutor <ENTER>
     ๋˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์„ ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
                                vim tutor.ko <ENTER>

---> 'vim' ์€ ๋น” ํŽธ์ง‘๊ธฐ๋กœ ๋“ค์–ด๊ฐ€๋Š” ๊ฒƒ์„ ๋œปํ•˜๋ฉฐ, 'tutor.ko'๋Š” ํŽธ์ง‘ํ•˜๋ ค๋Š”
     ํŒŒ์ผ์„ ๋œปํ•ฉ๋‹ˆ๋‹ค.

  4. ์œ„์—์„œ ์ด์•ผ๊ธฐํ•œ ๋‹จ๊ณ„๋ฅผ ๊ธฐ์–ตํ•˜์˜€์œผ๋ฉฐ, ํ™•์‹ ์ด ์„œ๋ฉด, 1์—์„œ 3๊นŒ์ง€๋ฅผ
     ์ˆ˜ํ–‰ํ•˜์—ฌ ํŽธ์ง‘๊ธฐ๋ฅผ ๋‚˜๊ฐ”๋‹ค๊ฐ€ ๋‹ค์‹œ ๋“ค์–ด์™€๋ณด์‹ญ์‹œ์˜ค.  ๊ทธ ํ›„ ์ปค์„œ๋ฅผ ์•„๋ž˜๋กœ
     ์›€์ง์—ฌ Lesson 1.3 ์œผ๋กœ ๊ฐ€์‹ญ์‹œ์˜ค.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     Lesson 1.3: ํ…์ŠคํŠธ ํŽธ์ง‘ - ์ง€์šฐ๊ธฐ


** ๋ช…๋ น ๋ชจ๋“œ์—์„œ   x  ๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ปค์„œ๊ฐ€ ์œ„์น˜ํ•œ ๊ณณ์˜ ๊ธ€์ž๋ฅผ ์ง€์šธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. **

  1. ----> ๋กœ ํ‘œ์‹œ๋œ ๊ณณ์œผ๋กœ ์ปค์„œ๋ฅผ ์˜ฎ๊ฒจ๋ณด์‹ญ์‹œ์˜ค.

  2. ์˜คํƒ€๋ฅผ ์ˆ˜์ •ํ•˜๊ธฐ ์œ„ํ•ด, ์ปค์„œ๋ฅผ ์ง€์šธ ๊ธ€์ž ์œ„๋กœ ์›€์ง์—ฌ ๋ณด์‹ญ์‹œ์˜ค.

  3. x  ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ์ง€์›Œ์•ผํ•  ๊ธ€์ž๋ฅผ ์ง€์šฐ์‹ญ์‹œ์˜ค.

  4. 2์—์„œ 4๊นŒ์ง€๋ฅผ ๋ฐ˜๋ณตํ•˜์—ฌ ๋ฌธ์žฅ์ด ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ๋˜๋„๋ก ํ•˜์—ฌ ๋ณด์‹ญ์‹œ์˜ค.

---> The ccow jumpedd ovverr thhe mooon.

  5. ๋ฌธ์žฅ์ด ์ •ํ™•ํ•ด์กŒ๋‹ค๋ฉด, Lesson 1.4๋กœ ๊ฐ€์‹ญ์‹œ์˜ค.

์ฃผ์˜: ์ด ๊ธธ์žก์ด๋ฅผ ๋ณด๋ฉด์„œ ์™ธ์šฐ๋ ค๊ณ  ํ•˜์ง€๋ง๊ณ , ์ง์ ‘ ์‚ฌ์šฉํ•ด๋ณด๋ฉด์„œ ์ตํžˆ๊ธธ
      ๋ฐ”๋ž๋‹ˆ๋‹ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 Lesson 1.4: ํ…์ŠคํŠธ ํŽธ์ง‘ - ์‚ฝ์ž… (INSERTION)

  
       ** ๋ช…๋ น ๋ชจ๋“œ์—์„œ   i  ๋ฅผ ๋ˆ„๋ฅด๋ฉด ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ์ฒซ๋ฒˆ์งธ ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„๋กœ ์›€์ง์ž…๋‹ˆ๋‹ค.

  2. ์ฒซ๋ฒˆ์งธ ์ค„์„ ๋‘๋ฒˆ์งธ ์ค„๊ณผ ๋˜‘๊ฐ™์ด ๋งŒ๋“ค๊ฒƒ์ž…๋‹ˆ๋‹ค. ํ…์ŠคํŠธ๊ฐ€ ๋“ค์–ด๊ฐ€์•ผํ• 
     ๊ณณ ๋‹ค์Œ๋ถ€ํ„ฐ ์ฒซ๋ฒˆ์งธ ๊ธ€์ž ์œ„์— ์ปค์„œ๋ฅผ ์˜ฎ๊ฒจ ๋†“์Šต๋‹ˆ๋‹ค.

  3. i  ํ‚ค๋ฅผ ๋ˆ„๋ฅธ ํ›„, ํ•„์š”ํ•œ ๋‚ด์šฉ์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  4. ์ˆ˜์ •ํ•œ ํ›„์—๋Š” <ESC> ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๋ช…๋ น ๋ชจ๋“œ๋กœ ๋Œ์•„๊ฐ‘๋‹ˆ๋‹ค.
     ๋ฌธ์žฅ์„ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด 2์—์„œ 4์˜ ๊ณผ์ •์„ ๋ฐ˜๋ณตํ•ฉ๋‹ˆ๋‹ค.

---> There is text misng this .
---> There is some text missing from this line.

  5. ํ…์ŠคํŠธ๋ฅผ ์‚ฝ์ž…ํ•˜๋Š” ๋ฐ์— ์ต์ˆ™ํ•ด์กŒ๋‹ค๋ฉด, ์š”์•ฝ์„ ๋ด์ฃผ์‹ญ์‹œ์˜ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             LESSON 1 ์š”์•ฝ


  1. ์ปค์„œ๋ฅผ ์›€์ง์ผ ๋•Œ์—๋Š” ํ™”์‚ดํ‘œ ํ‚ค๋‚˜ hjkl ํ‚ค๋ฅผ ์ด์šฉํ•ฉ๋‹ˆ๋‹ค.
         h (์™ผ์ชฝ)       j (์•„๋ž˜)       k (์œ„)       l (์˜ค๋ฅธ์ชฝ)

  2. ์‰˜ ํ”„๋กฌํ”„ํŠธ์—์„œ ๋น”์„ ์‹œ์ž‘ํ•˜๋ ค๋ฉด vim FILENAME <ENTER>

  3. ์ˆ˜์ •ํ•œ ๋‚ด์šฉ์„ ๋ฌด์‹œํ•œ ์ฑ„๋กœ ๋น”์—์„œ ๋น ์ ธ๋‚˜๊ฐ€๋ ค๋ฉด   <ESC>   :q!   <ENTER>
                     ์ €์žฅํ•œ ํ›„ ๋น”์—์„œ ๋น ์ ธ๋‚˜๊ฐ€๋ ค๋ฉด   <ESC>   :wq   <ENTER>

  4. ๋ช…๋ น ๋ชจ๋“œ์—์„œ ์ปค์„œ๊ฐ€ ์œ„์น˜ํ•œ ๊ณณ์˜ ๊ธ€์ž๋ฅผ ์ง€์šฐ๋ ค๋ฉด   x  ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  5. ๋ช…๋ น ๋ชจ๋“œ์—์„œ ์ปค์„œ๊ฐ€ ์œ„์น˜ํ•œ ๊ณณ์— ํ…์ŠคํŠธ๋ฅผ ์‚ฝ์ž…ํ•˜๋ ค๋ฉด
         i   ๋ฅผ ๋ˆ„๋ฅธ ํ›„ ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•˜๊ณ   <ESC> ๋ฅผ ๋ˆ„๋ฆ…๋‹ˆ๋‹ค.

์ฐธ๊ณ : <ESC>๋Š” ๋ช…๋ น ๋ชจ๋“œ๋กœ ๋Œ์•„๊ฐ€๋Š” ๋ฐ ์“ฐ๋ฉฐ, ์›์น˜ ์•Š๋Š” ๋ช…๋ น์ด๋‚˜ ์™„์ „ํžˆ ์ž…๋ ฅ๋˜์ง€
      ์•Š์€ ๋ช…๋ น์„ ์ทจ์†Œํ•˜๋Š” ๋ฐ์—๋„ ์”๋‹ˆ๋‹ค.

๊ทธ๋Ÿผ Lesson 2๋ฅผ ์‹œ์ž‘ํ•ฉ์‹œ๋‹ค.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      Lesson 2.1: ์‚ญ์ œ(DELETION) ๋ช…๋ น


            ** ํ•œ ๋‹จ์–ด๋ฅผ ๋๊นŒ์ง€ ์ง€์šฐ๋ ค๋ฉด  dw  ๋ผ๊ณ  ์น˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. **

  1. <ESC> ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ํ™•์‹คํ•˜๊ฒŒ ๋ช…๋ น ๋ชจ๋“œ๋กœ ๋น ์ ธ ๋‚˜์˜ต๋‹ˆ๋‹ค.

  2. ์•„๋ž˜์— ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„ ๊นŒ์ง€ ์ปค์„œ๋ฅผ ์˜ฎ๊น๋‹ˆ๋‹ค.

  3. ์ง€์›Œ์•ผํ•  ๋‹จ์–ด์˜ ์ฒ˜์Œ์œผ๋กœ ์ปค์„œ๋ฅผ ์˜ฎ๊น๋‹ˆ๋‹ค.

  4. dw  ๋ผ๊ณ  ์ณ์„œ ๊ทธ ๋‹จ์–ด๋ฅผ ์ง€์›๋‹ˆ๋‹ค.

  ์ฃผ์˜: ์œ„์—์„œ ๋งํ•œ๋Œ€๋กœ ํ•˜๋ฉด ํ™”๋ฉด์˜ ๋งˆ์ง€๋ง‰ ์ค„์— dw ๋ผ๋Š” ๊ธ€์ž๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.
        ์ž˜๋ชป ์ณค๋‹ค๋ฉด,  <ESC> ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๋‹ค์‹œ ์‹œ์ž‘ํ•˜์‹ญ์‹œ์˜ค.

---> There are a some words fun that don't belong paper in this sentence.

  5. 3, 4๋ฒˆ ๊ณผ์ •์„ ๋‹ค์‹œ ํ•˜์—ฌ ๋ฌธ์žฅ์„ ์ •ํ™•ํ•˜๊ฒŒ ๋งŒ๋“  ๋’ค Lesson 2.2๋กœ ๊ฐ€์‹ญ์‹œ์˜ค.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 2.2: ๋‹ค๋ฅธ ์‚ญ์ œ ๋ช…๋ น

              **  d$ ๋ผ๊ณ  ์น˜๋ฉด ๊ทธ ์ค„ ๋๊นŒ์ง€ ์ง€์›Œ์ง‘๋‹ˆ๋‹ค. **

  1. <ESC> ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ํ™•์‹คํ•˜๊ฒŒ ๋ช…๋ น ๋ชจ๋“œ๋กœ ๋น ์ ธ ๋‚˜์˜ต๋‹ˆ๋‹ค.

  2. ์•„๋ž˜์— ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„ ๊นŒ์ง€ ์ปค์„œ๋ฅผ ์˜ฎ๊น๋‹ˆ๋‹ค.

  3. ์˜ฌ๋ฐ”๋ฅธ ์ค„์˜ ๋์œผ๋กœ ์ปค์„œ๋ฅผ ์˜ฎ๊น๋‹ˆ๋‹ค. (์ฒซ๋ฒˆ์งธ๋กœ ๋‚˜์˜ค๋Š” . ๋‹ค์Œ์ž…๋‹ˆ๋‹ค.)

  4. d$  ๋ผ๊ณ  ์ณ์„œ ์ค„ ๋๊นŒ์ง€ ์ง€์›๋‹ˆ๋‹ค.

---> Somebody typed the end of this line twice. end of this line twice.


  5. ์–ด๋–ค ์ผ์ด ์ผ์–ด๋‚ฌ๋Š”์ง€ ์ดํ•ดํ•˜๊ธฐ ์œ„ํ•ด Lesson 2.3 ์œผ๋กœ ๊ฐ€์‹ญ์‹œ์˜ค.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    Lesson 2.3: ๋ช…๋ น๊ณผ ์ ์šฉ ๋Œ€์ƒ์— ๋Œ€ํ•ด


  ์‚ญ์ œ ๋ช…๋ น d์˜ ํ˜•์‹์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

         [ํšŸ์ˆ˜]   d   ๋Œ€์ƒ      ๋˜๋Š”      d   [ํšŸ์ˆ˜]   ๋Œ€์ƒ
  ์—ฌ๊ธฐ์„œ
    ํšŸ์ˆ˜ - ๋ช…๋ น์„ ๋ช‡ ๋ฒˆ ์ˆ˜ํ–‰ํ•  ์ง€ (์˜ต์…˜, ๊ธฐ๋ณธ๊ฐ’=1).
    d    - ์ง€์šฐ๋Š” ๋ช…๋ น
    ๋Œ€์ƒ - ์•„๋ž˜์— ์ œ์‹œ๋œ ๋Œ€์ƒ์— ๋Œ€ํ•ด ๋ช…๋ น์„ ์ˆ˜ํ–‰

  ์ ์šฉ ๊ฐ€๋Šฅํ•œ ๋Œ€์ƒ์˜ ์ข…๋ฅ˜:
    w - ์ปค์„œ์—์„œ ๊ทธ ๋‹จ์–ด์˜ ๋๊นŒ์ง€ (๊ณต๋ฐฑ ํฌํ•จ.)
    e - ์ปค์„œ์—์„œ ๊ทธ ๋‹จ์–ด์˜ ๋๊นŒ์ง€ (๊ณต๋ฐฑ์„ ํฌํ•จํ•˜์ง€ ์•Š์Œ.)
    $ - ์ปค์„œ์—์„œ ๊ทธ ์ค„์˜ ๋๊นŒ์ง€

์ฐธ๊ณ :  ํ˜ธ๊ธฐ์‹ฌ์ด ์žˆ๋‹ค๋ฉด, ๋ช…๋ น ๋ชจ๋“œ์—์„œ ๋ช…๋ น ์—†์ด ๋Œ€์ƒ์„ ์ž…๋ ฅํ•ด๋ณด์‹ญ์‹œ์˜ค.
       ์œ„์—์„œ ์ด์•ผ๊ธฐํ•œ ๋Œ€์ƒ์˜ ๋ชฉ๋ก์— ๋”ฐ๋ผ ์ปค์„œ๊ฐ€ ์›€์ง์ด๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   Lesson 2.4: '๋ช…๋ น-๋Œ€์ƒ' ์— ๋Œ€ํ•œ ์˜ˆ์™ธ


               **  dd  ๋ผ๊ณ  ์น˜๋ฉด ์ค„ ์ „์ฒด๋ฅผ ์ง€์›๋‹ˆ๋‹ค. **

  ์ค„ ์ „์ฒด๋ฅผ ์ง€์šฐ๋Š” ์ผ์ด ์žฆ๊ธฐ ๋•Œ๋ฌธ์—, Vi๋ฅผ ๋””์ž์ธ ํ•œ ์‚ฌ๋žŒ๋“ค์€, ๊ฐ„๋‹จํžˆ d๋ฅผ
  ๋‘๋ฒˆ ์—ฐ๋‹ฌ์•„ ์น˜๋ฉด ํ•œ ์ค„์„ ์ง€์šธ ์ˆ˜ ์žˆ๋„๋ก ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

  1. ์ปค์„œ๋ฅผ ์•„๋ž˜ ๋‚˜์˜จ ๋‹จ๋ฝ์˜ ๋‘๋ฒˆ์งธ ์ค„๋กœ ๊ฐ€์ ธ๊ฐ€์‹ญ์‹œ์˜ค.
  2. dd ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๊ทธ ์ค„์„ ์ง€์šฐ์‹ญ์‹œ์˜ค.
  3. ๊ทธ๋Ÿฐ ๋‹ค์Œ ๋„ค๋ฒˆ์งธ ์ค„๋กœ ๊ฐ€์‹ญ์‹œ์˜ค.
  4. 2dd ๋ผ๊ณ  ์ž…๋ ฅํ•˜์—ฌ ๋‘์ค„์„ ์ง€์›๋‹ˆ๋‹ค. ( ํšŸ์ˆ˜-๋ช…๋ น-๋Œ€์ƒ์„ ๊ธฐ์–ตํ•˜์„ธ์š”. )

      1)  Roses are red,
      2)  Mud is fun,
      3)  Violets are blue,
      4)  I have a car,
      5)  Clocks tell time,
      6)  Sugar is sweet
      7)  And so are you.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Lesson 2.5: ์ทจ์†Œ(UNDO) ๋ช…๋ น


   **  u  ๋ฅผ ๋ˆ„๋ฅด๋ฉด ๋งˆ์ง€๋ง‰ ๋ช…๋ น์ด ์ทจ์†Œ๋˜๋ฉฐ,  U ๋Š” ์ค„ ์ „์ฒด๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„๋กœ ์ด๋™ํ•œ ํ›„ ์ฒซ๋ฒˆ์งธ ์ž˜๋ชป๋œ ๋ถ€๋ถ„ ์œ„๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค.
  2.  x  ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ์ฒซ๋ฒˆ์งธ ์ž˜๋ชป๋œ ๊ธ€์ž๋ฅผ ์ง€์›๋‹ˆ๋‹ค.
  3. ๊ทธ๋Ÿผ ์ด์ œ  u ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๋งˆ์ง€๋ง‰์œผ๋กœ ์ˆ˜ํ–‰๋œ ๋ช…๋ น์„ ์ทจ์†Œํ•ฉ๋‹ˆ๋‹ค.
  4. ์ด๋ฒˆ์—๋Š”  x  ๋ช…๋ น์„ ์ด์šฉํ•˜์—ฌ ๊ทธ ์ค„์˜ ๋ชจ๋“  ์—๋Ÿฌ๋ฅผ ์ˆ˜์ •ํ•ด๋ด…์‹œ๋‹ค.
  5. ๋Œ€๋ฌธ์ž  U  ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๊ทธ ์ค„์„ ์›๋ž˜ ์ƒํƒœ๋กœ ๋Œ๋ ค๋†“์•„ ๋ณด์‹ญ์‹œ์˜ค.
  6. ์ด๋ฒˆ์—๋Š”  u ๋ฅผ ๋ช‡ ๋ฒˆ ๋ˆŒ๋Ÿฌ์„œ  U ์™€ ์ด์ „ ๋ช…๋ น์„ ์ทจ์†Œํ•ด๋ด…์‹œ๋‹ค.
  7. CTRL-R (CTRL ํ‚ค๋ฅผ ๋ˆ„๋ฅธ ์ƒํƒœ์—์„œ R์„ ๋ˆ„๋ฅด๋Š” ๊ฒƒ) ์„ ๋ช‡ ๋ฒˆ ๋ˆŒ๋Ÿฌ์„œ
     ๋ช…๋ น์„ ๋‹ค์‹œ ์‹คํ–‰ํ•ด๋ด…์‹œ๋‹ค. (์ทจ์†Œํ•œ ๊ฒƒ์„ ์ทจ์†Œํ•จ.)

---> Fiix the errors oon thhis line and reeplace them witth undo.

  8. ์ด ๋ช…๋ น์€ ๋งค์šฐ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.  ๊ทธ๋Ÿผ Lesson 2 ์š”์•ฝ์œผ๋กœ ๋„˜์–ด๊ฐ€๋„๋ก ํ•ฉ์‹œ๋‹ค.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               LESSON 2 ์š”์•ฝ


  1. ์ปค์„œ๊ฐ€ ์œ„์น˜ํ•œ ๊ณณ๋ถ€ํ„ฐ ๋‹จ์–ด์˜ ๋๊นŒ์ง€ ์ง€์šฐ๋ ค๋ฉด:    dw

  2. ์ปค์„œ๊ฐ€ ์œ„์น˜ํ•œ ๊ณณ๋ถ€ํ„ฐ ์ค„ ๋๊นŒ์ง€ ์ง€์šฐ๋ ค๋ฉด:    d$

  3. ์ค„ ์ „์ฒด๋ฅผ ์ง€์šฐ๋ ค๋ฉด:    dd

  4. ๋ช…๋ น ๋ชจ๋“œ์—์„œ ๋‚ด๋ฆฌ๋Š” ๋ช…๋ น์˜ ํ˜•์‹์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

       [ํšŸ์ˆ˜]   ๋ช…๋ น   ๋Œ€์ƒ    ๋˜๋Š”    ๋ช…๋ น   [ํšŸ์ˆ˜]   ๋Œ€์ƒ
     ์—ฌ๊ธฐ์„œ:
       ํšŸ์ˆ˜ - ๊ทธ ๋ช…๋ น์„ ๋ช‡ ๋ฒˆ ๋ฐ˜๋ณตํ•  ๊ฒƒ์ธ๊ฐ€
       ๋ช…๋ น - ์–ด๋–ค ๋ช…๋ น์„ ๋‚ด๋ฆด ๊ฒƒ์ธ๊ฐ€ ( ์˜ˆ๋ฅผ ๋“ค์–ด, ์‚ญ์ œ์ธ ๊ฒฝ์šฐ๋Š” d )
       ๋Œ€์ƒ - ๋ช…๋ น์ด ๋™์ž‘ํ•  ๋Œ€์ƒ, ์˜ˆ๋ฅผ ๋“ค์–ด w (๋‹จ์–ด), $ (์ค„์˜ ๋) ๋“ฑ.

  5. ์ด์ „ ํ–‰๋™์„ ์ทจ์†Œํ•˜๋ ค๋ฉด:                 u   (์†Œ๋ฌธ์ž u)
     ํ•œ ์ค„์—์„œ ์ˆ˜์ •ํ•œ ๊ฒƒ์„ ๋ชจ๋‘ ์ทจ์†Œํ•˜๋ ค๋ฉด:  U   (๋Œ€๋ฌธ์ž U)
     ์ทจ์†Œํ•œ ๊ฒƒ์„ ๋‹ค์‹œ ์‹คํ–‰ํ•˜๋ ค๋ฉด:            CTRL-R

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 3.1: ๋ถ™์ด๊ธฐ(PUT) ๋ช…๋ น


      **  p ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๋งˆ์ง€๋ง‰์œผ๋กœ ์ง€์šด ๋‚ด์šฉ์„ ์ปค์„œ ๋’ค์— ๋ถ™์ž…๋‹ˆ๋‹ค. **

  1. ์•„๋ž˜์— ์žˆ๋Š” ๋ฌธ๋‹จ์˜ ์ฒซ ์ค„๋กœ ์ปค์„œ๋ฅผ ์›€์ง์ด์‹ญ์‹œ์˜ค.

  2.  dd  ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๊ทธ ์ค„์„ ์ง€์›Œ์„œ ๋น”์˜ ๋ฒ„ํผ์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.

  3. ์•„๊นŒ ์ง€์šด ์ค„์ด ๊ฐ€์•ผํ•  ์œ„์น˜์˜ *์œ—์ค„๋กœ* ์ปค์„œ๋ฅผ ์˜ฎ๊น๋‹ˆ๋‹ค.

  4. ๋ช…๋ น ๋ชจ๋“œ์—์„œ,  p  ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๊ทธ ์ค„์„ ์ œ๋Œ€๋กœ ๋œ ์ž๋ฆฌ๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค.

  5. 2์—์„œ 4๋ฅผ ๋ฐ˜๋ณตํ•˜์—ฌ ๋ชจ๋“  ์ค„์˜ ์ˆœ์„œ๋ฅผ ๋ฐ”๋กœ ์žก์œผ์‹ญ์‹œ์˜ค.

     d) Can you learn too?
     b) Violets are blue,
     c) Intelligence is learned,
     a) Roses are red,



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 3.2: ์น˜ํ™˜(REPLACE) ๋ช…๋ น


  ** ์ปค์„œ ์•„๋ž˜์˜ ๊ธ€์ž ํ•˜๋‚˜๋ฅผ ๋ฐ”๊พธ๋ ค๋ฉด, r ์„ ๋ˆ„๋ฅธ ํ›„ ๋ฐ”๊ฟ€ ๊ธ€์ž๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ฒซ ์ค„๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค.

  2. ์ปค์„œ๋ฅผ ์ž˜๋ชป๋œ ์ฒซ ๋ถ€๋ถ„์œผ๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค.

  3.  r  ์„ ๋ˆ„๋ฅธ ํ›„, ์ž˜๋ชป๋œ ๋ถ€๋ถ„์„ ๊ณ ์ณ ์“ธ ๊ธ€์ž๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  4. 2์—์„œ 3์˜ ๊ณผ์ •์„ ๋ฐ˜๋ณตํ•˜์—ฌ, ์ฒซ ์ค„์˜ ์˜ค๋ฅ˜๋ฅผ ์ˆ˜์ •ํ•˜์‹ญ์‹œ์˜ค.

--->  Whan this lime was tuoed in, someone presswd some wrojg keys!
--->  When this line was typed in, someone pressed some wrong keys!

  5. Lesson 3.2 ๋กœ ์ด๋™ํ•ฉ์‹œ๋‹ค.

์ฃผ์˜: ์™ธ์šฐ์ง€ ๋ง๊ณ , ์ง์ ‘ ํ•ด๋ณด๋ฉด์„œ ์ตํ˜€์•ผ ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ์žŠ์ง€ ๋งˆ์‹ญ์‹œ์˜ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 3.3: ๋ณ€ํ™˜(CHANGE) ๋ช…๋ น


           ** ํ•œ ๋‹จ์–ด์˜ ์ผ๋ถ€๋‚˜ ์ „์ฒด๋ฅผ ๋ฐ”๊พธ๋ ค๋ฉด,  cw  ๋ฅผ ์น˜์‹ญ์‹œ์˜ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ฒซ์ค„๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค.

  2. ์ปค์„œ๋ฅผ lubw ์—์„œ u ์œ„์— ์˜ฌ๋ ค๋†“์Šต๋‹ˆ๋‹ค.

  3. cw ๋ผ๊ณ  ๋ช…๋ นํ•œ ํ›„ ๋‹จ์–ด๋ฅผ ์ •ํ™•ํ•˜๊ฒŒ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. (์ด ๊ฒฝ์šฐ,  'ine' ๋ฅผ ์นฉ๋‹ˆ๋‹ค.)

  4. <ESC> ๋ฅผ ๋ˆ„๋ฅธ ํ›„ ๋‹ค์Œ ์—๋Ÿฌ๋กœ ๊ฐ‘๋‹ˆ๋‹ค (์ˆ˜์ •๋˜์–ด์•ผํ•  ์ฒซ ๊ธ€์ž๋กœ ๊ฐ‘๋‹ˆ๋‹ค.)

  5. 3์—์„œ 4์˜ ๊ณผ์ •์„ ๋ฐ˜๋ณตํ•˜์—ฌ ์ฒซ๋ฒˆ์งธ ๋ฌธ์žฅ์„ ๋‘๋ฒˆ์งธ ๋ฌธ์žฅ๊ณผ ๊ฐ™๋„๋ก ๋งŒ๋“ญ๋‹ˆ๋‹ค.

---> This lubw has a few wptfd that mrrf changing usf the change command.
---> This line has a few words that need changing using the change command.

cw ๋Š” ๋‹จ์–ด๋ฅผ ์น˜ํ™˜ํ•˜๋Š” ๊ฒƒ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ, ๋‚ด์šฉ์„ ์‚ฝ์ž…ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•œ๋‹ค๋Š” ๊ฒƒ์—
์ฃผ์˜ํ•ฉ์‹œ๋‹ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       Lesson 3.4: c ๋ฅผ ์ด์šฉํ•œ ๋‹ค๋ฅธ ๋ณ€ํ™˜ ๋ช…๋ น


     ** ๋ณ€ํ™˜ ๋ช…๋ น์€ ์‚ญ์ œํ•  ๋•Œ ์ด์šฉํ•œ ๋Œ€์ƒ์— ๋Œ€ํ•ด ์ ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. **

  1. ๋ณ€ํ™˜ ๋ช…๋ น์€ ์‚ญ์ œ์™€ ๋™์ผํ•œ ๋ฐฉ์‹์œผ๋กœ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. ํ˜•์‹์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

       [ํšŸ์ˆ˜]   c   ๋Œ€์ƒ      ๋˜๋Š”       c   [ํšŸ์ˆ˜]   ๋Œ€์ƒ

  2. ์ ์šฉ ๊ฐ€๋Šฅํ•œ ๋Œ€์ƒ ์—ญ์‹œ ๊ฐ™์Šต๋‹ˆ๋‹ค.  w (๋‹จ์–ด),  $ (์ค„์˜ ๋) ๋“ฑ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  3. ---> ๋กœ ํ‘œ์‹œ๋œ ์ฒซ์ค„๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

  4. ์ฒซ ์—๋Ÿฌ ์œ„๋กœ ์ปค์„œ๋ฅผ ์˜ฎ๊น๋‹ˆ๋‹ค.

  5. c$ ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ, ๊ทธ ์ค„์˜ ๋‚˜๋จธ์ง€๊ฐ€ ๋‘๋ฒˆ์งธ ์ค„์ฒ˜๋Ÿผ ๋˜๋„๋ก ์ˆ˜์ •ํ•œ ํ›„ <ESC> ๋ฅผ
     ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค.

---> The end of this line needs some help to make it like the second.
---> The end of this line needs to be corrected using the  c$  command.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               LESSON 3 ์š”์•ฝ


  1. ์ด๋ฏธ ์ง€์šด ๋‚ด์šฉ์„ ๋˜๋Œ๋ฆฌ๋ ค๋ฉด,  p  ๋ฅผ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค. ์ด ๋ช…๋ น์€ ์ปค์„œ *๋‹ค์Œ์—*
     ์ง€์›Œ์ง„ ๋‚ด์šฉ์„ ๋ถ™์ž…๋‹ˆ๋‹ค(PUT). (ํ•œ ์ค„์„ ์ง€์šด ๊ฒฝ์šฐ์—๋Š” ์ปค์„œ ๋‹ค์Œ ์ค„์—
     ์ง€์›Œ์ง„ ๋‚ด์šฉ์ด ๋ถ™์Šต๋‹ˆ๋‹ค.)

  2. ์ปค์„œ ์•„๋ž˜์˜ ๊ธ€์ž๋ฅผ ์น˜ํ™˜ํ•˜๋ ค๋ฉด(REPLACE),  r  ์„ ๋ˆ„๋ฅธ ํ›„ ์›๋ž˜ ๊ธ€์ž ๋Œ€์‹ 
     ๋ฐ”๊พธ์–ด ๋„ฃ์„ ๊ธ€์ž๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  3. ๋ณ€ํ™˜ ๋ช…๋ น(CHANGE)์€ ์ปค์„œ์—์„œ ๋ถ€ํ„ฐ ์ง€์ •ํ•œ ๋Œ€์ƒ์˜ ๋๊นŒ์ง€ ๋ฐ”๊ฟ€ ์ˆ˜ ์žˆ๋Š”
     ๋ช…๋ น์ž…๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ์ปค์„œ ์œ„์น˜์—์„œ ๋‹จ์–ด์˜ ๋๊นŒ์ง€ ๋ฐ”๊พธ๋ ค๋ฉด,  cw  ๋ฅผ
     ์ž…๋ ฅํ•˜๋ฉด ๋˜๋ฉฐ,  c$  ๋Š” ์ค„ ๋๊นŒ์ง€ ๋ฐ”๊พธ๋Š” ๋ฐ ์“ฐ์ž…๋‹ˆ๋‹ค.

  4. ๋ณ€ํ™˜ ๋ช…๋ น์˜ ํ˜•์‹์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

         [ํšŸ์ˆ˜]   c   ๋Œ€์ƒ       ๋˜๋Š”       c   [ํšŸ์ˆ˜]   ๋Œ€์ƒ

๊ณ„์†ํ•ด์„œ ๋‹ค์Œ Lesson ์„ ์ง„ํ–‰ํ•ฉ์‹œ๋‹ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     Lesson 4.1: ์œ„์น˜์™€ ํŒŒ์ผ์˜ ์ƒํƒœ


  **  CTRL-g ๋ฅผ ๋ˆ„๋ฅด๋ฉด ํŒŒ์ผ ๋‚ด์—์„œ์˜ ํ˜„์žฌ ์œ„์น˜์™€ ํŒŒ์ผ์˜ ์ƒํƒœ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
      SHIFT-G ๋ฅผ ๋ˆ„๋ฅด๋ฉด ํŒŒ์ผ ๋‚ด์˜ ์ค„๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. **

  ์ฃผ์˜: ์•„๋ž˜์˜ ๋‹จ๊ณ„๋ฅผ ๋”ฐ๋ผํ•˜๊ธฐ ์ „์—, ์ด Lesson ์ „์ฒด๋ฅผ ๋จผ์ € ์ฝ์œผ์‹ญ์‹œ์˜ค.

  1. CTRL ํ‚ค๋ฅผ ๋ˆ„๋ฅธ ์ƒํƒœ์—์„œ g ๋ฅผ ๋ˆ„๋ฆ…๋‹ˆ๋‹ค. ํŒŒ์ผ ์ด๋ฆ„๊ณผ ํ˜„์žฌ ์œ„์น˜ํ•œ ์ค„์ด
     ํ‘œ์‹œ๋œ ์ƒํƒœ์ค„์ด ํ™”๋ฉด ์•„๋ž˜์— ํ‘œ์‹œ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค. 3๋ฒˆ์งธ ๋‹จ๊ณ„๋ฅผ ์œ„ํ•ด ๊ทธ
     ์ค„ ๋ฒˆํ˜ธ๋ฅผ ๊ธฐ์–ตํ•˜๊ณ  ๊ณ„์‹ญ์‹œ์˜ค.

  2. SHIFT-G ๋ฅผ ๋ˆ„๋ฅด๋ฉด ํŒŒ์ผ์˜ ๋งˆ์ง€๋ง‰์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

  3. ์•„๊นŒ ๊ธฐ์–ตํ–ˆ๋˜ ์ค„ ๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•œ ํ›„ SHIFT-G ๋ฅผ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด
     ์ฒ˜์Œ์— CTRL-g ๋ฅผ ๋ˆŒ๋ €๋˜ ์žฅ์†Œ๋กœ ๋˜๋Œ์•„๊ฐ€๊ฒŒ ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
     (๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•  ๋•Œ, ์ด๊ฒƒ์€ ํ™”๋ฉด์— ํ‘œ์‹œ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.)

  4. ์ž์‹ ์ด ์ƒ๊ฒผ๋‹ค๋ฉด, 1์—์„œ 3๊นŒ์ง€๋ฅผ ์‹คํ–‰ํ•ด๋ณด์‹ญ์‹œ์˜ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 4.2: ์ฐพ๊ธฐ ๋ช…๋ น


              **  /  ๋ฅผ ๋ˆ„๋ฅธ ํ›„ ๊ฒ€์ƒ‰ํ•  ๋ฌธ๊ตฌ๋ฅผ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค. **

  1. ๋ช…๋ น ๋ชจ๋“œ์—์„œ  /  ๋ฅผ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค.  : ๋ช…๋ น์—์„œ์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ,  ํ™”๋ฉด ์•„๋ž˜์—
     / ์™€ ์ปค์„œ๊ฐ€ ํ‘œ์‹œ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.

  2. 'errroor' ๋ผ๊ณ  ์นœ ํ›„ <ENTER> ๋ฅผ ์น˜์‹ญ์‹œ์˜ค. ์ด ๋‹จ์–ด๋ฅผ ์ฐพ์œผ๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

  3. ๊ฐ™์€ ๋ฌธ๊ตฌ๋ฅผ ๋‹ค์‹œ ์ฐพ์œผ๋ ค๋ฉด, ๊ฐ„๋‹จํžˆ  n  ์„ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค.
     ๊ฐ™์€ ๋ฌธ๊ตฌ๋ฅผ ๋ฐ˜๋Œ€ ๋ฐฉํ–ฅ์œผ๋กœ ์ฐพ์œผ๋ ค๋ฉด,  Shift-N ์„ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค.

  4. ๋ฌธ๊ตฌ๋ฅผ ์—ญ๋ฐฉํ–ฅ์œผ๋กœ ์ฐพ์œผ๋ ค๋ฉด,  /  ๋Œ€์‹   ? ๋ฅผ ์ด์šฉํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

---> "errroor" is not the way to spell error;  errroor is an error.

์ฐธ๊ณ : ์ฐพ๋Š” ์ค‘์— ํŒŒ์ผ์˜ ๋์— ๋‹ค๋‹ค๋ฅด๊ฒŒ ๋˜๋ฉด, ํŒŒ์ผ์˜ ์ฒ˜์Œ๋ถ€ํ„ฐ ๋‹ค์‹œ ์ฐพ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   Lesson 4.3: ๊ด„ํ˜ธ์˜ ์ง ์ฐพ๊ธฐ


              ** %  ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ  ), ], } ์˜ ์ง์„ ์ฐพ์Šต๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„์˜ (, [, { ์ค‘ ํ•˜๋‚˜์— ๊ฐ€์ ธ๋‹ค ๋†“์Šต๋‹ˆ๋‹ค.

  2.  % ๋ฅผ ์ž…๋ ฅํ•ด ๋ด…์‹œ๋‹ค.

  3. ์ปค์„œ๊ฐ€ ์ง์ด ๋งž๋Š” ๊ด„ํ˜ธ๋กœ ์ด๋™ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.

  4.  % ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ, ์ด์ „ ๊ด„ํ˜ธ๋กœ ๋˜๋Œ์•„ ์˜ต์‹œ๋‹ค.

---> This ( is a test line with ('s, ['s ] and {'s } in it. ))

์ฐธ๊ณ : ์ง์ด ๋งž์ง€ ์•Š๋Š” ๊ด„ํ˜ธ๊ฐ€ ์žˆ๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ๋””๋ฒ„๊น…ํ•  ๋•Œ์— ๋งค์šฐ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค!






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      Lesson 4.4: ์—๋Ÿฌ๋ฅผ ์ˆ˜์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•


     **  :s/old/new/g  ํ•˜๋ฉด 'old' ๋ฅผ  'new' ๋กœ ์น˜ํ™˜(SUBTITUTE)ํ•ฉ๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„์— ๊ฐ€์ ธ๋‹ค ๋†“์Šต๋‹ˆ๋‹ค.

  2.  :s/thee/the ๋ฅผ ์ž…๋ ฅํ•œ ํ›„ <ENTER> ๋ฅผ ์นฉ๋‹ˆ๋‹ค.  ์ด ๋ช…๋ น์€ ๊ทธ ์ค„์—์„œ
     ์ฒ˜์Œ์œผ๋กœ ๋ฐœ๊ฒฌ๋œ ๊ฒƒ๋งŒ ๋ฐ”๊พผ๋‹ค๋Š” ๊ฒƒ์— ์ฃผ์˜ํ•˜์‹ญ์‹œ์˜ค.

  3. ์ด๋ฒˆ์—๋Š”  :s/thee/the/g  ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ด๋Š” ๊ทธ ์ค„ ์ „์ฒด(globally)๋ฅผ
     ์น˜ํ™˜ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค.

---> thee best time to see thee flowers is in thee spring.

  4. ๋‘ ์ค„ ์‚ฌ์ด์˜ ๋ชจ๋“  ๋ฌธ์ž์—ด์— ๋Œ€ํ•ด ์น˜ํ™˜ํ•˜๋ ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•ฉ๋‹ˆ๋‹ค,
      :#,#s/old/new/g    #,# ๋Š” ๋‘ ์ค„์˜ ์ค„๋ฒˆํ˜ธ๋ฅผ ๋œปํ•ฉ๋‹ˆ๋‹ค.
      :%s/old/new/g      ํŒŒ์ผ ์ „์ฒด์—์„œ ๋ฐœ๊ฒฌ๋œ ๋ชจ๋“  ๊ฒƒ์„ ์น˜ํ™˜ํ•˜๋Š” ๊ฒฝ์šฐ์ž…๋‹ˆ๋‹ค.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               LESSON 4 ์š”์•ฝ


  1. CTRL-g  ๋Š” ํŒŒ์ผ์˜ ์ƒํƒœ์™€ ํŒŒ์ผ ๋‚ด์—์„œ์˜ ํ˜„์žฌ ์œ„์น˜๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
     SHIFT-G  ๋Š” ํŒŒ์ผ์˜ ๋์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ์ค„๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•œ ํ›„ SHIFT-G๋ฅผ
     ์ž…๋ ฅํ•˜๋ฉด, ๊ทธ ์ค„๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

  2.  / ๋ฅผ ์ž…๋ ฅํ•œ ํ›„ ๋ฌธ๊ตฌ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๊ทธ ๋ฌธ๊ตฌ๋ฅผ ์•„๋žซ๋ฐฉํ–ฅ์œผ๋กœ ์ฐพ์Šต๋‹ˆ๋‹ค.
      ? ๋ฅผ ์ž…๋ ฅํ•œ ํ›„ ๋ฌธ๊ตฌ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์œ—๋ฐฉํ–ฅ์œผ๋กœ ์ฐพ์Šต๋‹ˆ๋‹ค.
     ๊ฒ€์ƒ‰ ํ›„, n ์„ ์ž…๋ ฅํ•˜๋ฉด ๊ฐ™์€ ๋ฐฉํ–ฅ์œผ๋กœ ๋‹ค์Œ ๋ฌธ๊ตฌ๋ฅผ ์ฐพ์œผ๋ฉฐ,
     Shift-N ์„ ์ž…๋ ฅํ•˜๋ฉด ๋ฐ˜๋Œ€ ๋ฐฉํ–ฅ์œผ๋กœ ์ฐพ์Šต๋‹ˆ๋‹ค.

  3. ์ปค์„œ๊ฐ€ (,),[,],{,} ์œ„์— ์žˆ์„ ๋•Œ์—  % ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์ƒ์‘ํ•˜๋Š” ์ง์„
     ์ฐพ์•„๊ฐ‘๋‹ˆ๋‹ค.

  4. ์–ด๋–ค ์ค„์— ์ฒ˜์Œ ๋“ฑ์žฅํ•˜๋Š” old๋ฅผ new๋กœ ๋ฐ”๊พธ๋ ค๋ฉด          :s/old/new
     ํ•œ ์ค„์— ๋“ฑ์žฅํ•˜๋Š” ๋ชจ๋“  old๋ฅผ new๋กœ ๋ฐ”๊พธ๋ ค๋ฉด            :s/old/new/g
     ๋‘ ์ค„ #,# ์‚ฌ์ด์—์„œ ์น˜ํ™˜์„ ํ•˜๋ ค๋ฉด                      :#,#s/old/new/g
     ํŒŒ์ผ ๋‚ด์˜ ๋ชจ๋“  ๋ฌธ๊ตฌ๋ฅผ ์น˜ํ™˜ํ•˜๋ ค๋ฉด                      :%s/old/new/g
     ๋ฐ”๊ฟ€ ๋•Œ๋งˆ๋‹ค ํ™•์ธ์„ ๊ฑฐ์น˜๋ ค๋ฉด 'c'๋ฅผ ๋ถ™์—ฌ์„œ              :%s/old/new/gc


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   Lesson 5.1: ์™ธ๋ถ€ ๋ช…๋ น ์‹คํ–‰ํ•˜๋Š” ๋ฐฉ๋ฒ•


         **   :!  ์„ ์ž…๋ ฅํ•œ ํ›„ ์‹คํ–‰ํ•˜๋ ค๋Š” ๋ช…๋ น์„ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค. **

  1. ์นœ์ˆ™ํ•œ ๋ช…๋ น์ธ  :  ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์ปค์„œ๊ฐ€ ํ™”๋ฉด ์•„๋ž˜๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ๋ช…๋ น์„
     ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

  2. ์ด์ œ  ! (๋Š๋‚Œํ‘œ) ๋ฅผ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ์™ธ๋ถ€ ์‰˜ ๋ช…๋ น์„ ์‹คํ–‰ํ• 
     ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  3. ์‹œํ—˜์‚ผ์•„ ! ๋‹ค์Œ์—  ls  ๋ฅผ ์ž…๋ ฅํ•œ ํ›„ <ENTER> ๋ฅผ ์ณ๋ณด์‹ญ์‹œ์˜ค. ์‰˜ ํ”„๋กฌํ”„ํŠธ
     ์—์„œ์ฒ˜๋Ÿผ ๋””๋ ‰ํ† ๋ฆฌ์˜ ๋ชฉ๋ก์ด ์ถœ๋ ฅ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.  ls  ๊ฐ€ ๋™์ž‘ํ•˜์ง€ ์•Š๋Š”๋‹ค๋ฉด
     :!dir ์„ ์‹œ๋„ํ•ด ๋ณด์‹ญ์‹œ์˜ค.

์ฐธ๊ณ :  ์–ด๋–ค ์™ธ๋ถ€ ๋ช…๋ น๋„ ์ด ๋ฐฉ๋ฒ•์œผ๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฐธ๊ณ :  ๋ชจ๋“   :  ๋ช…๋ น์€ <ENTER> ๋ฅผ ์ณ์•ผ ๋งˆ๋ฌด๋ฆฌ ๋ฉ๋‹ˆ๋‹ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    Lesson 5.2: ๋ณด๋‹ค ์ž์„ธํ•œ ํŒŒ์ผ ์ €์žฅ


     ** ์ˆ˜์ •๋œ ๋‚ด์šฉ์„ ํŒŒ์ผ๋กœ ์ €์žฅํ•˜๋ ค๋ฉด,  :w  FILENAME  ํ•˜์‹ญ์‹œ์˜ค. **

  1.  :!dir ๋˜๋Š”  :!ls  ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๋””๋ ‰ํ† ๋ฆฌ์˜ ๋ฆฌ์ŠคํŠธ๋ฅผ ์–ป์–ด์˜ต๋‹ˆ๋‹ค.
     ์œ„์˜ ๋ช…๋ น ํ›„ <ENTER>๋ฅผ ์ณ์•ผํ•œ๋‹ค๋Š” ๊ฒƒ์€ ์ด๋ฏธ ์•Œ๊ณ  ์žˆ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

  2. TEST ์ฒ˜๋Ÿผ ์กด์žฌํ•˜์ง€ ์•Š๋Š” ํŒŒ์ผ ์ด๋ฆ„์„ ํ•˜๋‚˜ ๊ณ ๋ฅด์‹ญ์‹œ์˜ค.

  3. ์ด์ œ  :w TEST ๋ผ๊ณ  ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค.  (TEST๋Š” ๋‹น์‹ ์ด ์„ ํƒํ•œ ํŒŒ์ผ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

  4. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ๋น” ๊ธธ์žก์ด ํŒŒ์ผ ์ „์ฒด๋ฅผ TEST๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
     ํ™•์ธํ•˜๋ ค๋ฉด,  :!dir ์„ ๋‹ค์‹œ ์ž…๋ ฅํ•˜์—ฌ, ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์‚ดํŽด๋ณด์‹ญ์‹œ์˜ค.

์ฐธ๊ณ : ๋น”์„ ์ข…๋ฃŒํ•œ ํ›„, ๋น”์„ ๋‹ค์‹œ ์‹คํ–‰ํ•˜์—ฌ TEST๋ผ๋Š” ํŒŒ์ผ์„ ์—ด๋ฉด, ๊ทธ ํŒŒ์ผ์€
      ์ €์žฅํ–ˆ์„ ๋•Œ์™€ ์™„๋ฒฝํžˆ ๊ฐ™์€ ๋ณต์‚ฌ๋ณธ์ผ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

  5. ์ด์ œ ๊ทธ ํŒŒ์ผ์„ ์ง€์›์‹œ๋‹ค.
     (MS-DOS์—์„œ):   !del TEST
     (Unix์—์„œ):     !rm TEST


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    Lesson 5.3: ์„ ํƒ์ ์œผ๋กœ ์ €์žฅํ•˜๋Š” ๋ช…๋ น


        ** ํŒŒ์ผ์˜ ์ผ๋ถ€๋ฅผ ์ €์žฅํ•˜๋ ค๋ฉด,  :#,# w FILENAME  ํ•˜์‹ญ์‹œ์˜ค. **

  1. ๋‹ค์‹œ ํ•œ๋ฒˆ,  :!dir  ์ด๋‚˜  :!ls ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๋””๋ ‰ํ† ๋ฆฌ์˜ ๋ชฉ๋ก์„ ๋ฐ›์•„์˜จ ํ›„
     TEST ๊ฐ™์€ ์ ํ•ฉํ•œ ์ด๋ฆ„์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  2. ์ปค์„œ๋ฅผ ์ด ํŽ˜์ด์ง€์˜ ์ฒ˜์Œ์œผ๋กœ ์˜ฎ๊ธด ํ›„, Ctrl-g ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ๊ทธ ์ค„์˜ ์ค„๋ฒˆํ˜ธ๋ฅผ
     ์•Œ์•„๋ƒ…๋‹ˆ๋‹ค. ์ด ๋ฒˆํ˜ธ๋ฅผ ๊ธฐ์–ตํ•˜์‹ญ์‹œ์˜ค!

  3. ์ด์ œ ์ด ํŽ˜์ด์ง€์˜ ๋งˆ์ง€๋ง‰์œผ๋กœ ๊ฐ€์„œ  Ctrl-g ๋ฅผ ๋‹ค์‹œ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค. ์ด ์ค„์˜
     ์ค„๋ฒˆํ˜ธ ๋˜ํ•œ ๊ธฐ์–ตํ•˜์‹ญ์‹œ์˜ค!

  4. ์–ด๋–ค ์„น์…˜๋งŒ ํŒŒ์ผ๋กœ ์ €์žฅํ•˜๋ ค๋ฉด,  :#,# w TEST  ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ด ๋•Œ
     #,# ๋Š” ์•„๊นŒ ๊ธฐ์–ตํ–ˆ๋˜ ์‹œ์ž‘๊ณผ ๋ ์ค„๋ฒˆํ˜ธ ์ž…๋‹ˆ๋‹ค. TEST๋Š” ํŒŒ์ผ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.

  5. :!dir ์„ ์ด์šฉํ•˜์—ฌ ํŒŒ์ผ์ด ๋งŒ๋“ค์–ด์กŒ๋Š”์ง€ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค. ์ง€์šฐ์ง€๋Š” ๋งˆ์‹ญ์‹œ์˜ค.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   Lesson 5.4: ํŒŒ์ผ ์ฝ์–ด๋“ค์ด๊ธฐ, ํ•ฉ์น˜๊ธฐ


       ** ์–ด๋–ค ํŒŒ์ผ์˜ ๋‚ด์šฉ์„ ์‚ฝ์ž…ํ•˜๋ ค๋ฉด,  :r FILENAME  ํ•˜์‹ญ์‹œ์˜ค **

  1.  :!dir ์„ ์ž…๋ ฅํ•˜์—ฌ ์•„๊นŒ ๋งŒ๋“  TEST ํŒŒ์ผ์ด ๊ทธ๋Œ€๋กœ ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.

  2. ์ปค์„œ๋ฅผ ์ด ํŽ˜์ด์ง€์˜ ์ฒ˜์Œ์œผ๋กœ ์›€์ง์ด์‹ญ์‹œ์˜ค.

์ฃผ์˜:  3๋ฒˆ์งธ ๋‹จ๊ณ„๋ฅผ ์‹คํ–‰ํ•˜๋ฉด, Lesson 5.3 ์„ ๋ณด๊ฒŒ ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ ‡๊ฒŒ ๋˜๋ฉด
       ์ด lesson์œผ๋กœ ๋‹ค์‹œ ๋‚ด๋ ค์˜ค์‹ญ์‹œ์˜ค.

  3. ์ด์ œ TEST ํŒŒ์ผ์„ ์ฝ์–ด๋“ค์ž…์‹œ๋‹ค.  :r TEST  ๋ช…๋ น์„ ์‚ฌ์šฉํ•˜์‹ญ์‹œ์˜ค. TEST ๋Š”
     ํŒŒ์ผ์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.

์ฐธ๊ณ :  ์ฝ์–ด๋“ค์ธ ํŒŒ์ผ์€ ์ปค์„œ๊ฐ€ ์œ„์น˜ํ•œ ์ง€์ ์—์„œ๋ถ€ํ„ฐ ๋†“์ด๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

  4. ํŒŒ์ผ์ด ์ฝ์–ด๋“ค์—ฌ์ง„ ๊ฒƒ์„ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด, ๋’ค๋กœ ์ด๋™ํ•ด์„œ ๊ธฐ์กด ๋ฒ„์ „๊ณผ ํŒŒ์ผ์—์„œ
     ์ฝ์–ด๋“ค์ธ ๋ฒ„์ „, ์ด๋ ‡๊ฒŒ Lesson 5.3 ์ด ๋‘๋ฒˆ ๋ฐ˜๋ณต๋˜์—ˆ์Œ์„ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               LESSON 5 ์š”์•ฝ


  1.  :!command  ๋ฅผ ์ด์šฉํ•˜์—ฌ ์™ธ๋ถ€ ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

      ์œ ์šฉํ•œ ์˜ˆ:
         (MS-DOS)         (Unix)
          :!dir            :!ls            -  ๋””๋ ‰ํ† ๋ฆฌ์˜ ๋ชฉ๋ก์„ ๋ณด์—ฌ์ค€๋‹ค.
          :!del FILENAME   :!rm FILENAME   -  FILENAME์ด๋ผ๋Š” ํŒŒ์ผ์„ ์ง€์šด๋‹ค.

  2.  :w FILENAME  ํ•˜๋ฉด ํ˜„์žฌ ๋น”์—์„œ ์‚ฌ์šฉํ•˜๋Š” ํŒŒ์ผ์„ FILENAME์ด๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ
      ๋””์Šคํฌ์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.

  3.  :#,#w FILENAME  ํ•˜๋ฉด #๋ถ€ํ„ฐ #๊นŒ์ง€์˜ ์ค„์„ FILENAME์ด๋ผ๋Š” ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.

  4.  :r FILENAME  ์€ ๋””์Šคํฌ์—์„œ FILENAME์ด๋ผ๋Š” ํŒŒ์ผ์„ ๋ถˆ๋Ÿฌ๋“ค์—ฌ์„œ ์ปค์„œ ์œ„์น˜
      ๋’ค์— ํ˜„์žฌ ํŒŒ์ผ์„ ์ง‘์–ด๋„ฃ์Šต๋‹ˆ๋‹ค.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    Lesson 6.1: ์ƒˆ ์ค„ ์—ด๊ธฐ(OPEN) ๋ช…๋ น


       **  o  ๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ปค์„œ ์•„๋ž˜์— ์ค„์„ ๋งŒ๋“ค๊ณ  ํŽธ์ง‘ ๋ชจ๋“œ๊ฐ€ ๋ฉ๋‹ˆ๋‹ค. **

  1. ์•„๋ž˜์— ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„๋กœ ์ปค์„œ๋ฅผ ์˜ฎ๊ธฐ์‹ญ์‹œ์˜ค.

  2.  o (์†Œ๋ฌธ์ž)๋ฅผ ์ณ์„œ ์ปค์„œ *์•„๋ž˜์—* ์ค„์„ ํ•˜๋‚˜ ์—ฌ์‹ญ์‹œ์˜ค. ํŽธ์ง‘ ๋ชจ๋“œ๊ฐ€ ๋ฉ๋‹ˆ๋‹ค.
     Insert mode.

  3. ---> ๋กœ ํ‘œ์‹œ๋œ ์ค„์„ ๋ณต์‚ฌํ•œ ํ›„  <ESC> ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ํŽธ์ง‘ ๋ชจ๋“œ์—์„œ ๋‚˜์˜ค์‹ญ์‹œ์˜ค.

---> After typing  o  the cursor is placed on the open line in Insert mode.

  4. ์ปค์„œ *์œ„์—* ์ค„์„ ํ•˜๋‚˜ ๋งŒ๋“œ๋ ค๋ฉด, ์†Œ๋ฌธ์ž  o ๋Œ€์‹  ๋Œ€๋ฌธ์ž  O  ๋ฅผ ์น˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
     ์•„๋ž˜ ์žˆ๋Š” ์ค„์— ๋Œ€ํ•ด ์ด ๋ช…๋ น์„ ๋‚ด๋ ค๋ณด์‹ญ์‹œ์˜ค.
Open up a line above this by typing Shift-O while the cursor is on this line.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 6.2: ์ถ”๊ฐ€(APPEND) ๋ช…๋ น


          **  a ๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ปค์„œ *๋‹ค์Œ์—* ๊ธ€์„ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ฒซ๋ฒˆ์งธ ์ค„์˜ ๋์œผ๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค.  ๋ช…๋ น ๋ชจ๋“œ์—์„œ
     $ ๋ฅผ ์ด์šฉํ•˜์‹ญ์‹œ์˜ค.

  2.  ์†Œ๋ฌธ์ž a ๋ฅผ ์ปค์„œ ์•„๋ž˜ ๊ธ€์ž *๋‹ค์Œ*์— ๊ธ€์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
     (๋Œ€๋ฌธ์ž A๋Š” ๊ทธ ์ค„์˜ ๋์— ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.)

์ฐธ๊ณ : ๊ทธ๋ ‡๊ฒŒ ํ•˜์‹œ๋ฉด ๊ณ ์ž‘ ์ค„์˜ ๋์— ์ถ”๊ฐ€๋ฅผ ํ•˜๊ธฐ ์œ„ํ•ด i๋ฅผ ๋ˆ„๋ฅด๊ณ , ์ปค์„œ ์•„๋ž˜์—
      ์žˆ๋˜ ๊ธ€์ž๋ฅผ ๋ฐ˜๋ณตํ•˜๊ณ , ๊ธ€์„ ๋ผ์›Œ๋„ฃ๊ณ , <ESC>๋ฅผ ๋ˆŒ๋Ÿฌ ๋ช…๋ น ๋ชจ๋“œ๋กœ ๋Œ์•„์™€์„œ,
      ์ปค์„œ๋ฅผ ์˜ค๋ฅธ์ชฝ์œผ๋กœ ์˜ฎ๊ธฐ๊ณ  ๋งˆ์ง€๋ง‰์œผ๋กœ x๊นŒ์ง€ ๋ˆŒ๋Ÿฌ์•ผ ํ•˜๋Š” ๋ฒˆ๊ฑฐ๋กœ์›€์„ ํ”ผํ•˜์‹ค
      ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  3. ์ด์ œ ์ฒซ ์ค„์„ ์™„์„ฑํ•˜์‹ญ์‹œ์˜ค. ์ถ”๊ฐ€ ๋ช…๋ น์€ ํ…์ŠคํŠธ๊ฐ€ ์ž…๋ ฅ๋˜๋Š” ์œ„์น˜ ์™ธ์—๋Š”
     ํŽธ์ง‘ ๋ชจ๋“œ์™€ ์™„์ „ํžˆ ๊ฐ™๋‹ค๋Š” ๊ฒƒ์„ ์œ ๋…ํ•˜์‹ญ์‹œ์˜ค.

---> This line will allow you to practice
---> This line will allow you to practice appending text to the end of a line.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   Lesson 6.3: ์น˜ํ™˜(REPLACE) ์˜ ๋‹ค๋ฅธ ๋ฒ„์ „


      **  ๋Œ€๋ฌธ์ž R ์„ ์ž…๋ ฅํ•˜๋ฉด ํ•˜๋‚˜ ์ด์ƒ์˜ ๊ธ€์ž๋ฅผ ๋ฐ”๊ฟ€ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. **

  1. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ์ฒซ๋ฒˆ์งธ ์ค„๋กœ ์˜ฎ๊ธฐ์‹ญ์‹œ์˜ค.

  2. ์ปค์„œ๋ฅผ ---> ๋กœ ํ‘œ์‹œ๋œ ๋‘๋ฒˆ์งธ ์ค„๊ณผ ๋‹ค๋ฅธ ์ฒซ๋ฒˆ์งธ ๋‹จ์–ด ์œ„๋กœ ์˜ฎ๊ธฐ์‹ญ์‹œ์˜ค.
     ('last' ์ž…๋‹ˆ๋‹ค.)

  3.  R  ์„ ์ž…๋ ฅํ•œ ํ›„ ์ฒซ๋ฒˆ์งธ ์ค„์˜ ์˜ˆ์ „ ํ…์ŠคํŠธ ์œ„์— ์ƒˆ๋กœ์šด ๊ธ€์„ ์ž…๋ ฅํ•˜์—ฌ
     ๋‚˜๋จธ์ง€ ๋‚ด์šฉ์ด ๋‘๋ฒˆ์งธ ์ค„๊ณผ ๊ฐ™์•„์ง€๋„๋ก ๋ฐ”๊ฟ‰์‹œ๋‹ค.

---> To make the first line the same as the last on this page use the keys.
---> To make the first line the same as the second, type R and the new text.

  4. <ESC> ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๋‚˜๊ฐ€๋ฉด, ๋ฐ”๋€Œ์ง€ ์•Š์€ ํ…์ŠคํŠธ๋Š” ๊ทธ๋Œ€๋กœ ๋‚จ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Lesson 6.4: ์˜ต์…˜ ์„ค์ •(SET)

      ** ์ฐพ๊ธฐ๋‚˜ ๋ฐ”๊พธ๊ธฐ์—์„œ ๋Œ€์†Œ๋ฌธ์ž ๊ตฌ๋ถ„์„ ์—†์• ๊ธฐ ์œ„ํ•ด ์˜ต์…˜์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค **

  1. ๋‹ค์Œ์„ ์ž…๋ ฅํ•˜์—ฌ 'ignore' ๋ฅผ ์ฐพ์œผ์‹ญ์‹œ์˜ค:
     /ignore
      n ํ‚ค๋ฅผ ์ด์šฉํ•˜์—ฌ ์—ฌ๋Ÿฌ๋ฒˆ ๋ฐ˜๋ณตํ•˜์‹ญ์‹œ์˜ค.

  2. 'ic' (๋Œ€์†Œ๋ฌธ์ž ๊ตฌ๋ณ„ ์•ˆํ•จ, Ignore case) ์˜ต์…˜์„ ์„ค์ •ํ•˜์‹ญ์‹œ์˜ค:
     :set ic

  3.  n ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ์„œ 'ignore' ๋ฅผ ๋‹ค์‹œ ์ฐพ์•„๋ณด์‹ญ์‹œ์˜ค.
     n ํ‚ค๋ฅผ ๊ณ„์† ๋ˆŒ๋Ÿฌ์„œ ์—ฌ๋Ÿฌ๋ฒˆ ์ฐพ์œผ์‹ญ์‹œ์˜ค.

  4. 'hlsearch' ์™€ 'incsearch' ์˜ต์…˜์„ ์„ค์ •ํ•ฉ์‹œ๋‹ค.
     :set hls is

  5. ์ฐพ๊ธฐ ๋ช…๋ น์„ ๋‹ค์‹œ ์ž…๋ ฅํ•˜์—ฌ, ์–ด๋–ค ์ผ์ด ์ผ์–ด๋‚˜๋Š”์ง€ ํ™•์ธํ•ด ๋ณด์‹ญ์‹œ์˜ค:
     /ignore

  6. ์ฐพ์€ ๋‚ด์šฉ์ด ๊ฐ•์กฐ(HIGHLIGHT)๋œ ๊ฒƒ์„ ์—†์• ๋ ค๋ฉด, ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค:
     :nohlsearch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               LESSON 6 ์š”์•ฝ


  1.  o ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์ปค์„œ *์•„๋ž˜์—* ํ•œ ์ค„์ด ์—ด๋ฆฌ๋ฉฐ, ์ปค์„œ๋Š” ํŽธ์ง‘ ๋ชจ๋“œ๋กœ
     ์—ด๋ฆฐ ์ค„ ์œ„์— ์œ„์น˜ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
     ๋Œ€๋ฌธ์ž  O  ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์ปค์„œ๊ฐ€ ์žˆ๋Š” ์ค„์˜ *์œ„๋กœ* ์ƒˆ ์ค„์„ ์—ด๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

  2.  a ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์ปค์„œ *๋‹ค์Œ์—* ๊ธ€์„ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
     ๋Œ€๋ฌธ์ž  A  ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์ž๋™์œผ๋กœ ๊ทธ ์ค„์˜ ๋์— ๊ธ€์ž๋ฅผ ์ถ”๊ฐ€ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

  3. ๋Œ€๋ฌธ์ž  R  ์„ ์ž…๋ ฅํ•˜๋ฉด <ESC> ๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๋‚˜๊ฐ€๊ธฐ ์ „๊นŒ์ง€ ๋ฐ”๊พธ๊ธฐ ๋ชจ๋“œ๊ฐ€ ๋ฉ๋‹ˆ๋‹ค.

  4. ":set xxx" ๋ฅผ ํ•˜๋ฉด "xxx" ์˜ต์…˜์ด ์„ค์ •๋ฉ๋‹ˆ๋‹ค.









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       LESSON 7: ์˜จ๋ผ์ธ ๋„์›€๋ง ๋ช…๋ น


                      ** ์˜จ๋ผ์ธ ๋„์›€๋ง ์‹œ์Šคํ…œ ์‚ฌ์šฉํ•˜๊ธฐ **

  ๋น”์€ ํญ ๋„“์€ ์˜จ๋ผ์ธ ๋„์›€๋ง ์‹œ์Šคํ…œ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.  ๋„์›€๋ง์„ ๋ณด๋ ค๋ฉด,
  ๋‹ค์Œ ์„ธ๊ฐ€์ง€ ์ค‘ ํ•˜๋‚˜๋ฅผ ์‹œ๋„ํ•ด๋ณด์‹ญ์‹œ์˜ค:
        - <HELP> ํ‚ค๋ฅผ ๋ˆ„๋ฅธ๋‹ค. (ํ‚ค๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ)
        - <F1> ํ‚ค๋ฅผ ๋ˆ„๋ฅธ๋‹ค. (ํ‚ค๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ)
        - :help <ENTER>   ๋ผ๊ณ  ์ž…๋ ฅํ•œ๋‹ค.

  ๋„์›€๋ง ์ฐฝ์„ ๋‹ซ์œผ๋ ค๋ฉด  :q <ENTER>  ๋ผ๊ณ  ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค.

  ":help" ๋ผ๋Š” ๋ช…๋ น์— ์ธ์ž๋ฅผ ์ฃผ๋ฉด ์–ด๋–ค ์ฃผ์ œ์— ๊ด€ํ•œ ๋„์›€๋ง์„ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  ๋‹ค์Œ ๋ช…๋ น์„ ๋‚ด๋ ค ๋ณด์‹ญ์‹œ์˜ค. ( <ENTER> ํ‚ค๋ฅผ ๋ˆ„๋ฅด๋Š” ๊ฒƒ์„ ์žŠ์ง€ ๋งˆ์‹ญ์‹œ์˜ค.)

        :help w
        :help c_<T
        :help insert-index
        :help user-manual


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       LESSON 8: ์‹œ์ž‘ ์Šคํฌ๋ฆฝํŠธ ๋งŒ๋“ค๊ธฐ

                            ** ๋น”์˜ ๊ธฐ๋Šฅ ์ผœ๊ธฐ **

  ๋น”์€ Vi ๋ณด๋‹ค ํ›จ์”ฌ ๋งŽ์€ ๊ธฐ๋Šฅ์„ ๊ฐ€์ง€๊ณ  ์žˆ์ง€๋งŒ, ๋Œ€๋ถ€๋ถ„์€ ๊ธฐ๋ณธ์ ์œผ๋กœ ์ž‘๋™ํ•˜์ง€
  ์•Š์Šต๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ๊ธฐ๋Šฅ์„ ์จ๋ณด๋ ค๋ฉด, "vimrc" ๋ผ๋Š” ํŒŒ์ผ์„ ๋งŒ๋“ค์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  1. "vimrc" ํŒŒ์ผ์„ ์ˆ˜์ •ํ•ฉ์‹œ๋‹ค. ์ด ํŒŒ์ผ์€ ์‚ฌ์šฉํ•˜๋Š” ์‹œ์Šคํ…œ์— ๋”ฐ๋ผ ๋‹ค๋ฆ…๋‹ˆ๋‹ค:
  1. Start editing the "vimrc" file, this depends on your system:
        :edit ~/.vimrc                  Unix์˜ ๊ฒฝ์šฐ
        :edit $VIM/_vimrc               MS-Windows์˜ ๊ฒฝ์šฐ

  2. ์ด์ œ "vimrc"์˜ ์˜ˆ์ œ๋ฅผ ์ฝ์–ด๋“ค์ž…๋‹ˆ๋‹ค:

        :read $VIMRUNTIME/vimrc_example.vim

  3. ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•˜์—ฌ ํŒŒ์ผ์„ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค:

        :write

  ๋‹ค์Œ ๋ฒˆ์— ๋น”์„ ์‹œ์ž‘ํ•˜๋ฉด, ๊ตฌ๋ฌธ ๊ฐ•์กฐ(syntax highlighting)์ด ์‚ฌ์šฉ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
  ๋ชจ๋“  ์›ํ•˜๋Š” ์„ค์ •์„ ์ด "vimrc" ํŒŒ์ผ์— ๋„ฃ์–ด๋‘˜ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  ์ด๊ฒƒ์œผ๋กœ ๋น” ๊ธธ์žก์ด๋ฅผ ๋งˆ์นฉ๋‹ˆ๋‹ค.  ์ด ๊ธธ์žก์ด๋Š” ๋น” ํŽธ์ง‘๊ธฐ์— ๋Œ€ํ•œ ๊ฐ„๋žตํ•œ ๊ฐœ์š”๋ฅผ
  ๋ณด์—ฌ์ฃผ๊ธฐ ์œ„ํ•œ ์˜๋„๋กœ ์ œ์ž‘๋˜์—ˆ์œผ๋ฉฐ, ์ด ํŽธ์ง‘๊ธฐ๋ฅผ ์ •๋ง ๊ฐ„๋‹จํžˆ ์‚ฌ์šฉํ•˜๊ธฐ์—
  ์ถฉ๋ถ„ํ•  ๋ฟ์ž…๋‹ˆ๋‹ค.  ๋น”์—๋Š” ์ด ๊ธธ์žก์ด์™€๋Š” ๋น„๊ตํ•  ์ˆ˜ ์—†์„ ๋งŒํผ ํ›จ์”ฌ ๋งŽ์€ ๋ช…๋ น์ด
  ์žˆ์Šต๋‹ˆ๋‹ค.  ๋‹ค์Œ ์‚ฌ์šฉ์ž ๋งค๋‰ด์–ผ์„ ์ฝ์œผ์‹ญ์‹œ์˜ค: ":help user-manual"

  ๋ณด๋‹ค ์ž์„ธํžˆ ์ฝ๊ณ  ๊ณต๋ถ€ํ•˜๋ ค๋ฉด, ๋‹ค์Œ ์ฑ…์„ ์ถ”์ฒœํ•ด ๋“œ๋ฆฝ๋‹ˆ๋‹ค:
        Vim - Vi Improved - by Steve Oualline
        ์ถœํŒ์‚ฌ: New Riders
  ์ด ์ฑ…์€ ์™„์ „ํžˆ ๋น”์— ๋Œ€ํ•ด์„œ๋งŒ ๋‹ค๋ฃจ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.  ํŠนํžˆ ์ดˆ๋ณด์ž๋“ค์—๊ฒŒ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.
  ๋งŽ์€ ์˜ˆ์ œ์™€ ๊ทธ๋ฆผ์ด ์žˆ์Šต๋‹ˆ๋‹ค.
  ๋‹ค์Œ์„ ์ฐธ๊ณ ํ•˜์‹ญ์‹œ์˜ค:  http://iccf-holland.org/click5.html

  ๋‹ค์Œ ์ฑ…์€ ์ข€ ์˜ค๋ž˜๋œ ์ฑ…์œผ๋กœ ๋น”๋ณด๋‹ค๋Š” Vi์— ๋Œ€ํ•ด ๋‹ค๋ฃจ๊ณ  ์žˆ์ง€๋งŒ, ์—ญ์‹œ ์ถ”์ฒœํ•  ๋งŒ
  ํ•ฉ๋‹ˆ๋‹ค:
        Learning the Vi Editor - by Linda Lamb
        ์ถœํŒ์‚ฌ: O'Reilly & Associates Inc.
  Vi๋กœ ํ•˜๊ณ  ์‹ถ์€ ๊ฑฐ์˜ ๋ชจ๋“  ๊ฒƒ์— ๋Œ€ํ•ด ์•Œ ์ˆ˜ ์žˆ๋Š” ์ข‹์€ ์ฑ…์ž…๋‹ˆ๋‹ค.
  ์—ฌ์„ฏ๋ฒˆ์งธ ๊ฐœ์ •ํŒ์€ ๋น”์— ๊ด€ํ•œ ๋‚ด์šฉ์„ ํฌํ•จํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

  ์ด ๊ธธ์žก์ด๋Š”  Colorado School of Mines์˜ Michael C. Pierce ์™€
  Robert K. Ware ๊ฐ€ Colorado State University์˜ Charles Smith ์˜ ์•„์ด๋””์–ด์—
  ์ฐฉ์•ˆํ•˜์—ฌ ์ผ์Šต๋‹ˆ๋‹ค.
  .  E-mail: bware@mines.colorado.edu.

  Modified for Vim by Bram Moolenaar.

  ์ด ๋ฌธ์„œ์˜ ํ•œ๊ตญ์–ด ๋ฒ„์ „์— ๊ด€ํ•œ ๋ฌธ์˜๋Š” ๋‹ค์Œ ์‚ฌ์ดํŠธ๋กœ ํ•ด์ฃผ์‹ญ์‹œ์˜ค.
  http://wiki.kldp.org/wiki.php/VimTutorKo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~