vim 

vim ȯ°æ¼³Á¤À» ÇÏ¸é µË´Ï´Ù. ^^;;

1. Ãß°¡ÆÐÅ°Áö¼³Ä¡ vim-enhanced

rpm ÆÐÅ°Áö°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎ!!

2. vi ȯ°æ¼³Á¤ -> /etc/vimrc¼³Á¤

set tabstop=2 - ÅÇ°£°ÝÀ» 2Ä­À¸·Î ÁöÁ¤
set expandtp - Åǹ®ÀÚ¸¦ °ø¹é¹®ÀÚ·Î º¯È¯
set visualbell - »ç¿ëÀÚ ½Ç¼ö¸¦ °æ°íÇÒ¶§ ºñÇÁÀÓ ´ë½Å ºñÁÖ¾ó º§·Î °æ°í
set nobackup - ¹é¾÷ÆÄÀÏÀ» »ý¼ºÇÏÁö ¾ÊÀ½
set autoindent - ÀÚµ¿ µé¿©¾²±â »ç¿ë
set smartindent - Á»´õ Áö´ÉÀûÀÎ µé¿©¾²±â »ç¿ë
set incsearch - Å°¿öµå¸¦ ÀÔ·ÂÇÒ¶§ °Ë»öÇÏ´Â Á¡Áø °Ë»ö »ç¿ë
syntax on - ±¸ºÐ °­Á¶ ±â´É »ç¿ë
filetype on - ÆÄÀÏÀÇ Á¾·ù¿¡ µû¶ó ±¸ºÐ °­Á¾
colorscheme evening - vi»ö»óÅ׸¶º¯°æ
set background=dark - ¾îµÎ¿î ¹è°æ»ö »ó¿ë
set hisearch - °Ë»ö¾î °­Á¶ ±â´É »ç¿ë
set ignorecase -°Ë»ö,ÆíÁý ġȯ½Ã¿¡ ´ë¼Ò¹®ÀÚ ±¸ºÐÇÏÁö ¾ÊÀ½

3. /etc/bashrc ÆÄÀÏ open

alias vi=vim Ç׸ñÃß°¡

À§ÀÇ ¸ðµç °úÁ¤À» ¼öÇàÇÑ ÈÄ..

source /etc/vimrc

source /etc/bashrc

¶ó´Â ¸í·ÉÀ» ¼öÇàÇϸé, ¸ðµç »ç¿ëÀÚ¿¡°Ô ȯ°æÀÌ °®ÃçÁü.

±×·¸Áö ¾Ê°í °³Àθ¸ »ç¿ëÇÏ·Á ÇÑ´Ù¸é.

»ç¿ëÀÚ µð·ºÅ͸®¿¡ ÀÖ´Â ÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© »ç¿ë!!

<ȯ°æ ¼³Á¤>
. :set 
vi¿¡¼­´Â vi È¯°æº¯¼ö·Î ´ÙÀ½ÀÇ ¿É¼ÇµéÀ» »ç¿ëÇÒ ¼ö Àִµ¥ :set ¸í·É°ú ´ÙÀ½ÀÇ ¿É¼ÇÀ» ÇÔ²² »ç¿ëÇϸ頱נ¿É¼ÇÀÌ ¼³Á¤µÇ°í, ÀÌ ¿É¼Ç¾Õ¿¡ no¶ó´Â Á¢µÎ¾î°¡ ºÙÀ¸¸é ±× ¿É¼ÇÀÇ ¼³Á¤ÀÌ ÇØÁ¦µÈ´Ù. 

autoindent              modelines                        showmode
autoprint               number                           slowopen 
autowrite               novice                           tabstop=4
beautify                optimize                         taglength=0
directory=/var/tmp      paragraphs=IPLPPPQPP LIpplpipnpb tags=tags /usr/lib/tags
edcompatible            prompt                           tagstack
errorbells              readonly                         term=sun-cmd
noexrc                  redraw                           terse
flash                   remap                            timeout
hardtabs=8              report=5                         ttytype=sun-cmd
ignorecase              scroll=17                        warn
lisp                    sections=NHSHH HUuhsh+c          window=34
list                    shell=/bin/csh                   wrapscan
magic                   shiftwidth=4                     wrapmargin=0
mesg                    showmatch                        writeany

ÁÖ¿ä vi ¿É¼Ç ¼³¸í

¿É¼Ç ¾à¾î ¼³¸í
autoident ai »õ·Î¿î °¢ ÇàÀ» ÀÌÀü Çà ¶Ç´Â »õ·Î¿î ÇàÀÌ »ý±æ ¶§ Ä¿¼­°¡ ¾î¶² À§Ä¡¿¡ ÀÚµ¿À¸·Î Àε§Æ®µÇµµ·Ï ÇÑ´Ù. c ÇÁ·Î±×·¡¹ÖÇÒ ¶§ À¯¸®ÇÏ´Ù.
autowrite aw ´Ù¸¥ È­ÀÏ·Î ¿Å°Ü°¥ ¸í·ÉÀ» ½ÇÇàÇϱâ Àü ¶Ç´Â ½©·Î Àá½Ã ³ª¿À±â Àü¿¡ ÇöÀç È­ÀÏÀ» °­Á¦·Î ÀúÀåÇÑ´Ù.
ignorecase ic °Ë»ö°ú ´ëÄ¡½Ã ´ë¼Ò¹®ÀÚ ±¸ºÐÀ» ¹«½ÃÇÑ´Ù.
magic ¸ðµç Á¤±Ô½Ä ¹®ÀÚ¸¦ »ç¿ëÇÒ ¼ö ÀÖ°Ô ÇÑ´Ù.
mesg ¹®¼­ ÆíÁý µ¿¾È ¸Þ½ÃÁö°¡ È­¸é¿¡ Ãâ·ÂµÇ´Â °ÍÀ» Çã¿ëÇÑ´Ù.
number nu ¹®¼­ÀÇ Çà¿¡ Çà¹øÈ£¸¦ ºÙ¿© È­¸é¿¡ Ãâ·ÂÇÑ´Ù.
showmatch sm )³ª {¸¦ ÀÔ·ÂÇÒ ¶§¸¶´Ù ÀÚµ¿À¸·Î Ä¿¼­°¡ ´ëÀÀÇÏ´Â (³ª }·Î À̵¿ÇÏ¿© 1Ãʵ¿¾È ¸Ó¹®´Ù.
showmode »óÅ Çà¿¡ ÇöÀç ÆíÁý ¸ðµå¸¦ Ãâ·ÂÇÑ´Ù. wrapscan ws vi°¡ ¸Å¹ø È­ÀÏ Àüü¸¦ °Ë»öÇϵµ·Ï ÇÑ´Ù. °Ë»öÀº Ç×»ó ÇöÀç ÇàºÎÅÍ
½ÃÀÛÇؼ­ È­ÀÏÀÇ ³¡À¸·Î ÁøÇàµÈ´Ù.

¿¹1) ¹®¼­ÀÇ °¢Çà¿¡ Çà¹øÈ£¸¦ Ãâ·ÂÇϴ ¿¹Á¦
     :set number
¿¹2) Çà¹øÈ£ Ãâ·ÂÀ» ÇØÁ¦Çϴ ¿¹Á¦
     :set nonumber
¿¹3) ÇöÀç vi ¸ðµå¸¦ Ãâ·ÂÇϴ ¿¹Á¦
     :set showmode