You may already know this, and if so please disregard, but to actually *edit* your file in vi, you need to hit the insert key after the file has loaded, and hit it again if you want "overstrike" style editing, you should see the word insert at the lower left of your console. When you're finished, hit escape to exit edit mode and a colon then x, to exit and save the file.