" ================================================= "
" global settings: /etc/vim/vimrc or /etc/vimrc "
" local settings: ~/.vimrc "
" ================================================= "
syntax on " 语法高亮 "
set showcmd " 底部展示命令 "
set mouse=a " 启用鼠标 "
set cursorline " 光标所在的当前行高亮 "
set number " 显示行号 "
set textwidth=120 " 每行显示多少个字符 "
set tabstop=4 " tab对应的空格数 "
set expandtab " 将tab转换为空格 "
set softtabstop=4 " tab转换为多少个空格 "
set autoindent " 自动缩进 "
set shiftwidth=4 " 每一级缩进的宽度 "
版权归属:
Administrator
许可协议:
本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权
评论区