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'

Posted

April 26, 2009, 4:06 pm

Tags

,

More

Permalink

Comments

Send your comment by mail.