Skip to content

Instantly share code, notes, and snippets.

@rkJun
Created July 8, 2011 13:48
Show Gist options
  • Save rkJun/1071856 to your computer and use it in GitHub Desktop.
Save rkJun/1071856 to your computer and use it in GitHub Desktop.
gVim Configuration
"gVim 용 설정. macVim, vim 에서는 일부 제거할 것.
set number
set guifont=나눔고딕코딩:h10
set fileencodings=unicode,utf-8,cp949,euc-kr,koi8-r,sjis,ucs-bom,iso10646
source $VIMRUNTIME/colors/torte.vim
set co=120
set lines=45
set ts=4 "set tabstop=4 " Tab을 눌렀을 때 8칸 대신 4칸 이동하도록 한다.
set sw=4 "set shiftwidth=4 " 자동 들여쓰기를 할때 4칸 들여쓰도록 한다.
set nobackup
set autoindent " 자동으로 들여쓰기를 한다.
set cindent " C 프로그래밍을 할때 자동으로 들여쓰기를 한다.
set smartindent " 좀더 똑똑한 들여쓰기를 위한 옵션이다.
set wrap " 자동으로 를 삽입하여 다음 줄로 넘어간다.
"set nowrapscan " 검색할 때 문서의 끝에서 다시 처음으로 돌아가지 않는다.
"set encoding=unicode "cp949 인코딩을 설정
"source $VIMRUNTIME/syntax/sqc.vim
"set fenc=utf-8
"set fenc=unicode
" SQC filetype Syntax setting (c:/Program files/Vim/vim71/filetype.vim (au BufNewFile,BufRead *.sqc setf sqc)
au BufNewFile,BufRead *.sqc so $VIMRUNTIME/syntax/c.vim
"end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment