So when I use nano it opens a little interface to edit the file. However, is there a way to open the file with text editor?, as that is much easier to edit, navigate and save.
Nano Is a text editor. Now I must admit that I dislike it And the first thing I do is uninstall it and install my prefered editor, but it is an editor capable of doing all basic editing tasks.
if you type nano chances are you will start nano. If you do not want to run nano, don't type nano.
If you did not type nano, but it started anyway for example
visudo, etc. either set the EDITOR or VISUAL environment variable to point to the editor of your choice (remember that you may need the editor to not background itself or it will cause problems with the wrappers). Also if you are using a debian derived distro sensible-editor and alternatives allow further configuration.
If you did not type nano and You are still getting nano In spite of the above you can rename nano to something like nano.real and make a symbolic link from nano to the editor of your choice (as long as your editor does not automatically background itself, a wrapper script may help).