The following table is just a quick brain-dump of the most common vi commands I have settled on using over the last decade or so. If you are really interested, buy a book on vi or sit and watch your nearest Viking. If you are learning from scratch, use j,k,l and h instead. This way your hands need never leave the keyboard. Enter forward search mode.
P Put the contents of the past buffer above the current line.
One really neat thing in vi is that most commands can be prefixed by a number. For example, to move down 20 lines, I can type 20j or to delete the next 65 lines, I type 65dd. You can also use the search feature in conjunction with vi commands. If this is something I need to do again further along in the file, I can redo the same command by pressing the . However, there is one command line that is really handy.