Skip to content

Instantly share code, notes, and snippets.

@Akagi201
Last active October 4, 2015 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akagi201/2583411 to your computer and use it in GitHub Desktop.
Save Akagi201/2583411 to your computer and use it in GitHub Desktop.
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 """"""""""""""""""""""""""
@Akagi201
Copy link
Author

Akagi201 commented May 3, 2012

我的vimrc,以后我的重要配置文件就放这里了,不过不是文本,其他的二进制文件怎么办呢,要好好研究研究,而且这个高亮怎么弄呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment