Help in Linux for Robotics example 2.2

In the Linux for Robotics course ,in lecture 2 , example 2.2, I am facing some issues. When I try to go into the visual editor using vi, in the shell it is like the image. Noting happens even if I type i to insert the code. So I used the terminal to open and paste the code after typing i to insert. But then it says No file name. What should I do to solve the problem and why it is occurring?

Hello @Atia6,

I noticed by the shell #3 you have tried to open a folder, that’s why you have the list of files inside of it.

Then… You should have a better experience using the IDE for editing your files. Are you having problems with the IDE?