近期在做机器人集群分布式控制,用了几台树莓派,需要重复安装和配置Vim,这里分享一个常用的简易版Vim配置文件
set nocompatible
syntax on
set number " show line numbers "
set hlsearch " highlight searches "
set autoindent smartindent shiftround
set shiftwidth=4
set tabstop=4
set softtabstop=4 " insert mode tab and backspace use 4 spaces "
set t_Co=256