There are a number of apps in Debian based distro's that use a
distro specific text editor for editing their config files. An example
would be Crontab, in which you can edit your own cronjobs. By default
the editor you're using is Nano. However, when you're using Vi
for everything except cronjobs it's not really that ideal.
These kinds of tweakers are relatively simple with the update-alternatives command. Open up a terminal and type in the following:
sudo update-alternatives --config editor
tim@bytemods:~$ sudo update-alternatives --config editor There are 3 alternatives which provide `editor`. Selection Alternative ----------------------------------------------- 1 /bin/ed *+ 2 /bin/nano 3 /usr/bin/vim.basic Press enter to keep the default[*], or type selection number:
crontab -e
02-09 | Install an RPM package on Debian based Distro's |
12-07 | apt-get: NO_PUBKEY / GPG error |
19-10 | Access your MySQL server through SSH |
02-09 | Use Public Keys for SSH sessions |