2009년 10월 16일
.vimrc for cygwin
| 1 set nocompatible 2 set number 3 set backspace=indent,eol,start 4 set tabstop=4 5 set shiftwidth=4 6 set expandtab 7 set softtabstop=4 8 "set nobackup 9 "set cindent 10 "set autoindent 11 "set smartindent 12 "set enc-euc-kr " 인코딩을 한글로. 지울 때도 2 bytes 씩. 13 set incsearch 14 set hlsearch 15 set ignorecase 16 set showmatch " 소, 중, 대괄호에 커서가 위치할 경우, 짝을 찾아 hilighting. 17 set visualbell 18 set laststatus=2 19 "set statusline=%h%F%m%r%=[%l:%c(%p%%)] 20 set ruler 21 set background=dark 22 set title 23 colorscheme elflord 24 syntax on 25 "filetype on 26 27 set tags=./tags 28 29 if version >= 500 30 func! Sts() 31 let st = expand("<cword>") 32 exe "sts ".st 33 endfunc 34 nmap ,st :call Sts()<cr> 35 func! Tj() 36 let st = expand("<cword>") 37 exe "tj ".st 38 endfunc 39 nmap ,tj :call Tj()<cr> 40 endif 41 42 set csprg=/bin/mlcscope.exe 43 set csto=0 44 set cst 45 set nocsverb 46 if filereadable("./cscope.out") 47 cs add cscope.out 48 endif 49 set csverb 50 |
# by | 2009/10/16 12:04 | VIM | 트랙백



