Here is a survival guide for the famous editors of all time – vi. This vi survival guide was written in vi and is a nice tutorial to know how to get yourself familiar with the keystrokes required in vi. However I use emacs – which I think is more easier to use than vi or nano.