" s comment -*-coding: euc-kr;-*-
Setting for VIM(Vi IMproved) editor.
END
VIM(Vi IMproved) ÆíÁý±â ¼³Á¤.
END
print <<"EOF";
""" ========================================================
""" ±âº»ÀûÀÎ ¼³Á¤µé
""" ========================================================
set nocompatible    " Vim µðÆúÆ® ±â´ÉµéÀ» »ç¿ëÇÔ
set backspace=2     " »ðÀÔ ¸ðµå¿¡¼­ ¹é½ºÆäÀÌ½º¸¦ °è¼Ó Çã¿ë
set autoindent      " ÀÚµ¿ µé¿©¾²±â
set cindent         " C ¾ð¾î ÀÚµ¿ µé¿©¾²±â
set smartindent     " ¿ª½Ã ÀÚµ¿ µé¿©¾²±â
set textwidth=76    " 76¹øÂ° Ä­À» ³Ñ¾î°¡¸é ÀÚµ¿À¸·Î ÁÙ ¹Ù²Þ
set nowrapscan      " Ã£±â¿¡¼­ ÆÄÀÏÀÇ ¸Ç ³¡¿¡ ÀÌ¸£¸é °è¼ÓÇÏ¿© Ã£Áö ¾ÊÀ½
"set nobackup       " ¹é¾÷ÆÄÀÏÀ» ¸¸µéÁö ¾ÊÀ½
set novisualbell    " ºñÁÖ¾óº§ ±â´ÉÀ» »ç¿ëÇÏÁö ¾ÊÀ½
set nojoinspaces    " J ¸í·É¾î·Î ÁÙÀ» ºÙÀÏ ¶§ ¸¶Ä§Ç¥ µÚ¿¡ ÇÑÄ­¸¸ ¶ê
set ruler           " »óÅÂÇ¥½ÃÁÙ¿¡ Ä¿¼­ À§Ä¡¸¦ º¸¿©ÁÜ
set tabstop=4       " <Tab> °£°Ý
set shiftwidth=4    " ÀÚµ¿ µé¿©¾²±â °£°Ý
"set keywordprg=edic    " K¸¦ ´­·¶À» ¶§ ½ÇÇàÇÒ ¸í·É¾î
set showcmd         " (ºÎºÐÀûÀÎ) ¸í·É¾î¸¦ »óÅÂ¶óÀÎ¿¡ º¸¿©ÁÜ
set showmatch       " ¸ÅÄ¡µÇ´Â °ýÈ£ÀÇ ¹Ý´ëÂÊÀ» º¸¿©ÁÜ
set ignorecase      " Ã£±â¿¡¼­ ´ë/¼Ò¹®ÀÚ¸¦ ±¸º°ÇÏÁö ¾ÊÀ½
set incsearch       " Á¡ÁøÀûÀ¸·Î Ã£±â
set autowrite       " :next ³ª :make °°Àº ¸í·É¸¦ ÀÔ·ÂÇÏ¸é ÀÚµ¿À¸·Î ÀúÀå
set title			" Å¸ÀÌÆ²¹Ù¿¡ ÇöÀç ÆíÁýÁßÀÎ ÆÄÀÏÀ» Ç¥½Ã


""" ========================================================
""" ÆÄÀÏ ÀÎÄÚµùÀ» ÇÑ±¹¾î·Î ¼³Á¤
""" ========================================================
if \$LANG[0] == 'k' && \$LANG[1] == 'o'
  set fileencoding=korea
endif


""" ========================================================
""" ÅÍ¹Ì³Î¿¡ µû¸¥ ¼³Á¤ : XtermÀÌ¸é 16ÄÃ·¯ »ç¿ë
""" ========================================================
if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
  set t_Co=16
  set t_Sf=^[[3%dm
  set t_Sb=^[[4%dm
  set t_kb=
  fixdel
endif


""" ========================================================
""" ¹®¹ý °­Á¶±â´É »ç¿ë
""" ========================================================
if has("syntax")
  syntax on
endif


""" ========================================================
""" GUI ¸ðµå·Î ½ÇÇàÇÒ °æ¿ì
""" ========================================================
if has("gui_running")
  set visualbell	" ºñÁÖ¾óº§ ±â´É »ç¿ë
  set hlsearch		" Ã£´Â ´Ü¾î¸¦ ÇÏÀÌ¶óÀÌÆÃ
  set guifontset=-*-fixed-medium-r-normal--14-*-75-75-*-70-iso8859-1,-*-$HFONT-medium-r-normal--14-140-75-75-*-140-ksc5601.1987-0
endif

EOF
