@ -141,3 +141,19 @@ if [ -f ~/.bashrc ]; then
fi
EOF
protect_pre_install /root/.vimrc
cat <<EOF >> /root/.vimrc
syntax on
filetype plugin indent on
"Get the 2-space YAML as the default when hit carriage return after the colon
autocmd FileType yaml,yml setlocal ts=2 sts=2 sw=2 expandtab indentkeys=
set is hlsearch ai ic scs
nnoremap <esc><esc> :nohls<cr>