This page contains notes on various Debian environment configuration options.
By default Debian uses nano as its text editor.
nano
You can change this by installing your editor of choice and running:
update-alternatives –config editor