If you are following the articles at Slicehost, then you may notice that PickledOnion uses nano as the default editor. I somehow like vi more than nano (not ready for a debate 😉 ) and was looking for a way to make vi the default config editor. After some googling, I found how to do it.
I am writing it down here so that all I have to remember is that I just need to search my blog if I need to do it again in future.
Okay the command you have to use is (I am assuming that you are not logged in as root, which is the recommended approach)
sudo update-alternatives --config editor
And then press the number corresponding to the editor which you want to use. Below is the screenshot of how it looked in my slice.