Vim
An extensible text editor that can run just about anywhere.
Vim runs in a terminal and can be extended a long way through scripting and plugins. It was first released in 1991 by Bram Moolenaar, who maintained it largely by himself until he died in 2022.
Installation
sudo apt install vim
sudo update-alternatives --set editor $(which vim.basic)
Spellbook
To insert the result of an external command (something you’d otherwise run from the terminal), type :r! followed by the command. To drop in the current date as an ISO-8601 timestamp:
:r! date -Is