$ 0 0 First though you need to press the Esc (escape) key to take you out of edit mode. Here's a basic guide to vi which could have been easily found using your favourite search engine.