martedì 28 settembre 2010

Debian - Cambiare l'editor di default

update-alternatives --config editor
There are 4 alternatives which provide `editor'.

Selection    Alternative
-----------------------------------------------
1    /bin/ed
*+        2    /bin/nano
3    /usr/bin/vim.tiny
4    /usr/bin/mcedit-debian

Press enter to keep the default[*], or type selection number: 
apt-get install vim
update-alternatives --config editor
There are 5 alternatives which provide `editor'.

Selection    Alternative
-----------------------------------------------
1    /bin/ed
*+        2    /bin/nano
3    /usr/bin/vim.tiny
4    /usr/bin/mcedit-debian
5    /usr/bin/vim.basic

Press enter to keep the default[*], or type selection number: 5
Using '/usr/bin/vim.basic' to provide 'editor'.

Riferimenti:
http://www.debianadmin.com/howto-change-default-editor-in-debian-etch.html

Nessun commento:

Posta un commento