Hello! 😊 For yaml, should I use use spaces instead of tabs? [using vim] -& . . .

chris resnik:
and add these two lines:
> set number
> set list

chris resnik:
then save the file

chris resnik:
(press escape, type :wq, press enter)

Edith Puclla:
oh I see

Edith Puclla:

Screenshot from 2021-05-26 17-56-50.png

chris resnik:
if you do this correctly, the next teim you open a ymal file in vim, it will look a bit like this:
image.png

chris resnik:
ah yes, exactly

chris resnik:
well done :thumbsup:

Edith Puclla:
To avoid write : set nu or set list right?

Edith Puclla:
let me add a tabulation\

Edith Puclla:
this is really great, thank youuuuuuuuuuuuuu!!

chris resnik:
you’re welcome

chris resnik:
it helped me a lot fix those complaints about tabs and spacing

Edith Puclla:
I made this, maybe is useful for you too:

## Tips for VIM
* Use h -> move to left, l - > move to right, j -> move down , k -> move  up
* Esc + DD        | delete a line
* Esc + o         | add a new line
* Esc + w         | move word to word, set cursosr at the beginning of the word
* Esc + e         | move word to word, set cursor at the end of the word
* Esc + :set num  | to add line numbers
* Esc + y         | copy a line
* Esc + p         | paste the line
* Shift + v       | to visual mode and  up and down arrows to move the cursor
* Shift + >       | Indentation to the right
* Shift + <       | Indentation to the left
* Esc + u         |  revert changes
* ALT + f         | move the cursor after the word
* ALT + b         | move the cursos before the word
* Esc + dw        | Delete a word
* Esc + /         | Find a word

Edith Puclla:
I have the same issue with yamls. Shoudl I do this just one time, right? when my exam start

chris resnik:
yes

Edith Puclla:
I see! Thank you Chris :slightly_smiling_face:

Yes…You Must use space