Emacs is one of the best terminal text editors available today. It is installed system-wide. It could be accessed using emacs command.
emacs