vim not default anymore on debian...
It seems the debian community prefers
vim. With the newest unstable debian installed if you do for example
cvs commit you get the
nano-Editor to edit your commit-message instead of
vi. This happens allthough
$CVSEDITOR are not set.
If you don't like nano and want your beloved vi back again do the following as root:
$ update-alternatives --config editor
Answer the following question with your preferred editor.
This sets the default-editor for the whole system. (There are more default programs you can set with this debian command. Take a look at
If you want to set the default-editor for your user only you alternatively can set the
$EDITOR variable in your shell configuration (
.bashrc for bash):