console text editor in Linux
A lot command use the environment variable EDITOR to choose their editor.
See Bash - fc (Fix Command) - Range of command from history - (builtin)
The most known is VIM