Solution 1:

Try installing vim:

sudo apt-get install vim

or you can use a different text editor, like nano, which may be easier to use:

nano env_vars