A nice command exists in Debian to modify your preferences. To change the default editor, for example, do this:

1
update-alternatives --config editor

Otherwise, manually, you can do this:

1
2
export EDITOR=vim
visudo

Last updated 28 Nov 2006, 07:50 +0200. history