GNU nano is a small and friendly command-line text editor.
An extensible, customizable, free/libre text editor - and more.