Update-alternatives

From DWIKI

FAQ

List them all

update-alternatives --get-selections


Set default editor

update-alternatives --config editor