配置屬於自己的vi配色方案
scriptencoding utf-8
set encoding=utf-8
let $LANG="zh_CN.UTF-8"
set termencoding=utf-8
set fileencoding=utf-8
colo darkblue
set nocompatible
set hlsearch
set history=1000
set mousemodel=popup
set sm
set cin
set mouse=n
set selection=exclusive
set selectmode=mouse,key
set ruler
set wildmenu
set backspace=2
set whichwrap+=<,>,h,l
syntax on
set ts=4
set softtabstop=4
set shiftwidth=4
set noexpandtab
set nu
filetype on
filetype plugin on
filetype indent on
set ambiwidth=double
set showmatch
set smarttab
set autoindent
set formatoptions=tcrqn
set statusline=\ %<%F[%1*%M%*%n%R%H]%=\ %y\ %0(%{&fileformat}\ %{&encoding}\ %c:%l/%L%)\"設定狀態列
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let g:ctrlp_working_path_mode = ''
set listchars=tab:>\ ,
set list
vmap bl :<C-U>!svn blame <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
"map <F9> ggO<Esc>xxa--***************************** <CR><Esc>xxa-- Created by Eric on:<Esc>:read !date <CR>kJ$a<CR><Esc>xxa--<CR><Esc>xxa-- @desc:<CR><Esc>xxa--<CR><Esc>xxa-- @history<CR><Esc>xxa--*****************************