RHCSA
RHCE
设置vim tab键为2个空格,回车自动缩进
vim ~/.vimrc
Autocmd FileType yaml setlocal ts=2
set autoindent
或者
:autocmd FileType yaml setlocal ts=2 sw=2 et
set autoindent
第6题:创建和使用role
一直报错,查看了几次配置文档都没看到问题
最好重新写了一遍,发现是后面loop的变量多写了一个空格
设置vim tab键为2个空格,回车自动缩进
vim ~/.vimrc
Autocmd FileType yaml setlocal ts=2
set autoindent
或者
:autocmd FileType yaml setlocal ts=2 sw=2 et
set autoindent
一直报错,查看了几次配置文档都没看到问题
最好重新写了一遍,发现是后面loop的变量多写了一个空格