ITeye博客

vimrc备份

digiter · 2011-12-03 14:06 · vim · 开源软件 · Markdown


  1 " vimrc by digiter@126.com
  2 
  3 " General
  4 set encoding=UTF8
  5 set fileencodings=UTF8,GBK   " text encoding
  6 set nocompatible             " not compatible vith vi
  7 set autoread                 " auto load file modified outside
  8 filetype plugin indent on    " indent configure depend on filetype
  9 syntax on                    " highlight syntax
 10 color desert
 11 
 12 " search and match
 13 set incsearch    " increasing search
 14 
 15 " text formatting
 16 set nowrap       " no wrap lines
 17 set number       " show line numbers
 18 set shiftwidth=4 tabstop=4 softtabstop=4
 19 autocmd FileType c,cpp set noexpandtab
 20 autocmd FileType py    set expandtab
 21 


评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。