noremap! <C-?>
set backspace=indent,eol,start
set hlsearch
syntax on
set number
set cursorline
"set [no]compatible
set whichwrap=b,s,<,>,[,]
set tabstop=4
set shiftwidth=4
filetype on
set ruler
set rulerformat=%20(%2*%<%f%=\ %m%r\ %3l\ %c\ %p%%%)
set noerrorbells
set magic
"set cursorcolumn
"highlight cursorline ctermbg=6 ctermfg=0
"highlight CursorColumn ctermbg=6
set laststatus=2
nmap :nohlsearch
"set fileformats=unix,dos,mac
"set fileencodings=utf-8,sjis
参考:
vim常用设置.
Vim的终极配置方案.