The first line returned from a google search of vi commands is this; http://www.chem.brown.edu/instructions/vi.html
the second one;
learn to do a search on either google or on this site before you post
you might actually find the answer for yourself rather than having everyone do the work for you!!