在 D:\Program Files\Vim 目录下,建立vimrc文件,加入如下行:
set tabstop=4
set nu
syntax o
在D:\Program Files\Vim\vim74目录下,编辑 vimrc_example.vim 文件
屏蔽下面后三行
if has("vms")
set nobackup " do not keep a backup file, use versions instead
"else
" set backup " keep a backup file (restore to previous version)
" set undofile " keep an undo file (undo changes after closing