5/3/2012 - 5:16 AM

Akagi201's .vimrc.local with spf13-vim

Akagi201's .vimrc.local with spf13-vim

" @file     .vimrc.local
" @brief    my .vimrc.local with spf13-vim
" @author   liuboyf1
" @date     2012-08-29
" @version  V1.0.0
" @note     History:
" @note     <author>    <time>       <version>    <desc>
" @note     liuboyf1    2012-08-29   V1.0.0       创建文件
" @note     liuboyf1    2012-10-29   V1.0.1       修改了注释风格,占用行更少
" @other    http://edyfox.codecarver.org/html/_vimrc.html
" @other    https://github.com/spf13/spf13-vim

" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just
" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime
" you can find below.  If you wish to change any of those settings, you should
" do it in this file (/etc/vim/vimrc), since debian.vim will be overwritten
" everytime an upgrade of the vim packages is performed.  It is recommended to
" make changes after sourcing debian.vim since it alters the value of the
" 'compatible' option.

""""""""""""""""""""""""" General settings """"""""""""""""""""""""""""
set nocp

" Tab related
set ts=4
set sw=4
set smarttab
set et
"set ambiwidth=double

" Format related
set tw=80
set lbr
set fo+=mB

" Indent related
set cin
set ai
set cino=:0g0t0(susjl

" Editing related
set backspace=indent,eol,start
set whichwrap=b,s,<,>,[,]
set mouse=a
set selectmode=
set mousemodel=popup
set keymodel=
set selection=inclusive

" Misc
set wildmenu

" Encoding related
set encoding=utf-8
set langmenu=en_US.UTF-8
language message en_US.UTF-8
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
set nolist
"""set listchars=
highlight SpecialKey ctermbg=Red guibg=Red

" File type related
filetype plugin indent on

" Display related
set nu
set ru
set sm
set hls
syntax on
colorscheme desert

""""""""""""""""""""""""""""" Plugins settings """"""""""""""""""""""""""