oletuseditori snippets

How to change the default editor in Debian

Tagged debian, ubuntu, default editor, standard editor, oletuseditori  Languages bash

This command changes the default editor system wide. It should work in all Debian derivatives.

sudo update-alternatives --config editor