What are the rules for configuring VI for proper indentation of .yaml files. I’ve been seeing alot of errors that I believe are related to spacing and indentation and recall seeing some information about how to configure vi to avoid. I can’t seem to locate that information now.
Put this in your
I also find the following additional settings useful
which enables line numbers, auto-indent and using F3 to toggle paste mode on/off when in insert mode.
You want paste ON when pasting from the kubernetes documentation, and OFF at all other times, or you’ll get tabs inserted when you don’t want them, resulting in cryptic errors from kubectl
Thank You! I will try these