Hi. The kodekloud courses of kubernetes came by default with yaml syntax highlighting, so you can see the colors and edit more comfy. But in the engineer platform it doesn’t seem to be. Is there any way to add the same using vi or editing the .bashrc ?
The KKE terminals are the basic of the basic CentOS install. These come with the old-style vi editor which does not support highlighting.
The lab terminals are mostly ubuntu with comes with vim (vi improved) by default which does support highlighting. Ubuntu creates a symlink vi -> vim
On the centos terminals you can do
sudo yum install -y vim
Then edit files directly
vim test.yaml
1 Like