$ sudo vi /etc/vim/vimrc

→ 맨 아래 입력해 줍니다. (ctag, cscope는 다음에 다루기로 함)



set nu

syntax on

set autoindent

set cindent

set smartindent

set tabstop=4

set shiftwidth=4

highlight Comment term=bold cterm=bold ctermfg=4

set tags=./tags

set csprg=/usr/bin/cscope

set csto=0

set cst

set nocsverb

if filereadable("./cscope.out")

    cs add cscope.out

else

    cs add ./cscope.out

endif

set csverb

set fileencodings=utf8,euc-kr

 





+ Recent posts