KCA tips to speed up cut&paste with vim

Hello, I’m preparing my exam certification and I guess that having a quick cut&paste method for reusing lines of code from kubernetes documentation will be helpful.
I’ve used in kodekloud labs vim with [V]isual keys to add/remove indentation on multiple lines but it applies tabs instead of spaces. I’ve seen that .vimrc has the correct settings to avoid it but with [V]isual keys it doesn’t work.
I’d appreciate any hint about what I’ll face on the real exam and how to avoid this.
Thanks in advance.

-David

Hello, @david.palau
You can set option set paste in your .vimrc file. You can paste yaml file as it is without any indentation issue.

1 Like