vim 编写yaml文件时,自动换行后空格太多

我们设置
set ts=4
set sts=1
set sw=2
加入/etc/vimrc
重新打开文件就行了,这样既可以自动换行,而且在编写yaml文件时非常方便,格式非常用以控制

你可能感兴趣的:(Linux,MircSystemctl)