vim的智能配置

" 显示行号
set number

" 将Tab键自动转换为空格
set expandtab

" 设置Tab键本身的宽度为4个空格
set tabstop=4

" 设置按退格键(BackSpace)时一次删除4个空格
set softtabstop=4

" 设置使用>或<进行缩进时的宽度为4个空格
set shiftwidth=4

" 开启自动缩进(新行继承上一行的缩进)
set autoindent

" 开启C/C++语言智能缩进
set cindent

Comments

Popular posts from this blog

BdsDex: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-OABE-20A5-E582" from PciRoot(0x0)/Pci (0x2, 0x0)/Stat(0x0,0xFFFF,0x0) : Not Found

FFmpeg

Install v2ray on FreeBSD