Easy Command!!!

What to do just run this following command

$ sudo update-alternatives --config editor

and pick an editor you wanna use

 

Enjoy!

Ref: ubuntuforums.org