Vim

 

Simple & Stupid Vim Configuration

set nocompatible " be iMproved
syntax on
set nu
set ts=4
set expandtab
set sw=4
set autoindent
set hlsearch
set bs=2
"set nowrap
"set laststatus=2
""colorscheme darkblue
colorscheme default

"让vim记忆上次编辑的位置
"autocmd BufReadPost *
"   \ if line("'\"")>0&&line("'\"")<=line("$") |
    \   exe "normal g'\"" |
    \ endif

set encoding=utf-8
set fileencodings=utf-8,gb18030,gb2312,ucs-bom,gbk,cp936