Changing the default text editor to vi on Ubuntu is fairly easy however it may be tricky depending on how it has been set since there are numerous ways. In BackTrack Linux for instance the default editor is set using select-editor so if you follow another Ubuntu Linux howto it may tell you to modify the default editor using update-alternatives. Below I describe setting the default text editor using both of the mentioned methods and note a couple other locations where it can be set.
Recently I wanted to change the splash screen for BackTrack 5r3 which runs on a base of Ubuntu Linux 10.04 codename Lucid. To do this follow the steps below so each time your computer reboots you can have the splash screen of your choice. Do keep in mind that if the kernel is updated you may have to follow these instructions again.
As anyone knows from my previous posts I have been giving Ubuntu 10.04 a test drive and so far I am pretty happy with it. I have been spending most of my time configuring the various small things I prefer in Linux. One of those things is I like to have vi as my default editor. Below I will outline a simple way to change your default editor in the shell.