~drscream

Set default editor under debian systems

Everytime I forgot this “update-…” Debian foobar:

$ update-alternatives --config editor

For not global changes you can also use the EDITOR variable in your .bashrc:

export EDITOR='/usr/bin/vim'

Send your comment by mail.