'H' goes to the beginning of the line, 'L' to the end. 'w' moves forward by a word. 'W' moves backward by a word.