· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Vi Editor/Quick Start

ViEditor´Â ¸Þ¸ðÀå¿¡¸¸ Àͼ÷ÇØÁø »ç¶÷À» ´çȲÇÏ°Ô ¸¸µå´Â ÆíÁý±âÀÔ´Ï´Ù. óÀ½¿£ ¹¹ ÀÌ·±°Ô ´Ù ÀÖÀ»±î¶ó´Â »ý°¢ÀÌ µéÁö¸¸ Àͼ÷ÇØÁö¸é ´Ù¸¥ ÆíÁý±â¸¦ °Åµé¶°º¸Áöµµ ¾Ê´Â´Ù°í ÇÒ ¸¸Å­ ÈǸ¢ÇÑ ÆíÁý±âÀÔ´Ï´Ù.

¿©±â¼­´Â ViEditorÀÇ °¡Àå ±âº»ÀûÀÎ ±â´ÉÀÎ Àбâ,¾²±â,ÀúÀåÇϱâ,°íÄ¡±â µîÀ» ¾Ë¾Æº¸°Ú½À´Ï´Ù.

test.txt ÆÄÀÏÀ» ÆíÁýÇÏ´Â °ÍÀ» ¿¹¸¦ µé¾î ¼³¸íÇÕ´Ï´Ù.
$ vi test.txt
±×·±µ¥ ±ÛÀ» ÀÔ·ÂÇÏ·Á°í ¾î¶² Å°¸¦ ´©¸£¸é ±ÛÀÚ°¡ ½áÁöÁö ¾ÊÀ» °Ì´Ï´Ù.

À̶§, i¸¦ ´©¸£¸é (i´Â insert¸¦ ¶æÇÕ´Ï´Ù.) ±ÛÀÚ¸¦ ÀÔ·ÂÇÒ ¼ö ÀÖ°Ô µË´Ï´Ù. ÀÌ »óŸ¦ ÀԷ¸ðµå¶ó°í ºÎ¸¨´Ï´Ù.

±ÛÀÚ¸¦ ¾²´Ù°¡ Ʋ·ÈÀ» ¶§´Â ¾î¶»°Ô ÇÒ±î¿ä? ÀÌ ¶§´Â ESC Å°¸¦ ÇÑ ¹ø ´­·¯ÁÖ°í x¸¦ ´©¸¨´Ï´Ù. ÇÑ ±ÛÀÚ¾¿ Áö¿öÁý´Ï´Ù. ´Ù½Ã ÀÔ·ÂÀ» ÇÏ·Á¸é i¸¦ ´©¸£¸é µË´Ï´Ù. (±ÛÀÚ¸¦ ´©¸£¸é ÀԷµÇÁö ¾Ê°í ¾î¶² ¸í·É - ÇÑ ±ÛÀÚ Áö¿ì±â µîµî - ÀÌ ½ÇÇàµÇ´Â »óŸ¦ ¸í·É¸ðµå¶ó°í ºÎ¸¨´Ï´Ù)

Ä¿¼­¸¦ À̵¿ÇÒ ¶§´Â ESC ÇÑ ¹ø ´­·¯ÁÖ°í hjklÀ» ÀÌ¿ëÇÏ¿© ¿òÁ÷ÀÔ´Ï´Ù. Å°ÀÇ ¼ø¼­´Â ÁÂÇÏ»ó¿ìÀÔ´Ï´Ù. (vimÀÏ °æ¿ì´Â Ä¿¼­Å°µµ µË´Ï´Ù)

hjkl
¿ÞÂʾƷ¡À§¿À¸¥ÂÊ

¹®¼­¸¦ ´Ù ÀÛ¼ºÇß½À´Ï´Ù. ÀÌ°ÍÀ» ÀúÀåÇÏ°í ³¡³»·Á¸é, EscapeÅ°¸¦ ´­·¯ÁÝ´Ï´Ù. (¸í·É¸ðµå·Î Àüȯ) ÀúÀåÇÏ°í ³¡³»·Á¸é ´ÙÀ½ÀÇ ¼¼ ±ÛÀÚ¸¦ ŸÀÌÇÎÇØ ÁÝ´Ï´Ù.
:wq
ÀúÀåÇÏÁö ¾Ê°í ±×³É ³¡³»·Á¸é ´ÙÀ½ÀÇ ¼¼ ±ÛÀÚ¸¦ ŸÀÌÇÎÇÕ´Ï´Ù.
:q!

ÀÌÁ¦ ViEditor¸¦ »ç¿ëÇÏ¿© Àбâ, °íÄ¡±â, ÀúÀåÇϱ⠹æ¹ýÀ» ¾Ë°Ô µÇ¾ú½À´Ï´Ù. :)

Á» ´õ ÀÚ¼¼ÇÑ »ç¿ë¹ýÀº °ü·Ã ¹®¼­¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.



ID
Password
Join
Beauty and harmony are as necessary to you as the very breath of life.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-09-16 19:30:57
Processing time 0.0059 sec