vim

vim is a simple command line text editor

example commands

I - insert

Esc - quit insert

:w - save file without leaving

:x - save file and quit

vim --help - shows all commands all commands

vim site
link to package source