"关闭 vi 兼容模式
set nocompatible
"自动语法高亮
syntax on
"显示行号
set number
"突出显示当前行
set cursorline
"打开状态栏标尺
set ruler
"设定 << 和 >> 命令移动时的宽度为 4
set shiftwidth=4
"使得按退格键时可以一次删除 4 个空格
set softtabstop=4
"设定 tab 长度为4
set tabstop=4
"覆盖文件时不备份
set nobackup
"自动缩进
set autoindent
set cindent
set noexpandtab
---------------------------------------------------------------------------------------------------------------------
set nocompatible
syntax on
set number
set cursorline
set ruler
set shiftwidth=4
set tabstop=4
set nobackup
set autoindent
set cindent
set noexpandtab