내 vimrc 파일
2008. 12. 01 수정해서 올림.
syntax on
if v:lang =~ “^ko”
set encoding=cp949
set fileencodings=utf-8,cp949
set guifontset=-*-*-medium-r-normal–16-*-*-*-*-*-*-*
elseif v:lang =~ “^ja_JP”
set fileencodings=euc-jp
set guifontset=-misc-fixed-medium-r-normal–14-*-*-*-*-*-*-*
elseif v:lang =~ “^zh_TW”
set fileencodings=big5
set guifontset=-sony-fixed-medium-r-normal–16-150-75-75-c-80-iso8859-1,-taipei-fixed-medium-r-normal–16-150-75-75-c-160-big5-0
elseif v:lang =~ “^zh_CN”
set fileencodings=gb2312
set guifontset=*-r-*
endif
if v:lang =~ “utf8$” || v:lang =~ “UTF-8$”
set encoding=utf-8
set fileencodings=utf-8,cp949
endif
filetype indent on
filetype plugin on
set ruler
set history=999
set backspace=indent,eol,start
set hlsearch
set bg=dark
colorscheme murphy
set guifont=Andale\ Mono\ 12
set ignorecase
set ts=4
set sw=4
set sts=4
set autoindent
set cindent
set smartindent
set nu
set nobackup
set nocompatible
set sc
set sm
set ic
set ls=2
set wmnu
set scrolloff=2
filet on
map <F8> :w!<CR>
map <F9> :!clear;latex % <CR>
map <F10> :!clear;dvipdfmx % <CR>
map <F11> :!clear;kpdf % <CR>
Related posts
coded by nessus| Print article | This entry was posted by 에드 on 2007/11/30 at 3:47 오후, and is filed under linux. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
