Hi All, I am trying to paste the contents from the document to practice test in . . .

Ravi Paragi:
Hi All, I am trying to paste the contents from the document to practice test in vi editor. I am not getting the right indentation . Do we have any way to get in right indentation ? without manually editing again.
image.png

Deekshith Hadil:
The solution given here is working.
https://stackoverflow.com/questions/2514445/turning-off-auto-indent-when-pasting-text-into-vim

:set paste

Whenever I face such problems, I switch to nano temporarily. The auto indentation feature is good for yaml, python files.

Ravi Paragi:
Cool, thank you @Deekshith Hadil. Would try to use it for better time management.