set nocompatible
set backspace=indent,eol,start
set nobackup
set history=50
set ruler
set showcmd
set showmatch
set hlsearch
set incsearch
set ignorecase
syntax on
filetype plugin indent on
autocmd FileType text setlocal
set autoindent
set cindent
set number
set expandtab
set tabstop=4
set shiftwidth=4
set nowrap
set listchars=tab:>\ ,trail:-
set list
set path+=STL_PAT
转载于:https://www.cnblogs.com/egmkang/archive/2011/07/16/2108078.html