Edith Puclla:
Hello!
For yaml, should I use use spaces instead of tabs? [using vim] -> looks like they don’t like tabs
controlplane $ k create -f pod.yaml
error: error parsing pod.yaml: error converting YAML to JSON: yaml: line 12: found a tab character that violates indentation
controlplane $ vim pod.yaml
unnivkn:
Yes…thats correct. you have to use spaces instead of tabs
Edith Puclla:
thanks a lot
chris resnik:
i only found this out recently and it really helped me:
- vim .vimrc (edits the vim config file)
chris resnik:
2. add these lines:
set number
set list
chris resnik:
close by :wq
chris resnik:
number shows the linenumbers
chris resnik:
list shows invisible characters like tabs
Edith Puclla:
What should I configure here: vim .vimrc?
chris resnik:
that’s the command to run in the terminal (I assume you are on MacOs or Linux)
Edith Puclla:
I am on Linux
chris resnik:
ok, then open a terminal
chris resnik:
type:
vim .vimrc
then press enter
chris resnik:
in that file, enter insert mode (press i)
Edith Puclla:
what I should change there?