반응형
set tabstop=4
set shiftwidth=4
syntax on
set ts=4
set sw=4
set ai
set fileencodings=ucs-bom,utf-8,euc-kr,cp949,latin1
set modeline
set laststatus=2
set hlsearch
set nojoinspaces
set bg=dark
set noexpandtab
set cindent
set cino=>4
set ruler
map <F12> <ESC>:qa<CR>
map <F7> <ESC>:set mouse=a<CR>
map <F8> <ESC>:set mouse-=a<CR>
set tags=./tags,../tags,../../tags,../../../tags
func! Sts( )
let st = expand("<cword>")
exe "sts ".st
endfunc
nmap ,st :call Sts( )<cr>
func! Tj( )
let st = expand("<cword>")
exe "tj ".st
endfunc
nmap ,tj :call Tj( )<cr>
autocmd! BufWrite * mark ' | silent! %s/\s\+$// | norm ''
반응형
'다양한 TIP' 카테고리의 다른 글
bashrc 설정 (0) | 2016.04.25 |
---|---|
Mac 한자키 & 특수문자 (0) | 2016.03.12 |
[Virtual Box] Drive 변경 (1) | 2016.02.09 |
댓글