h or ^h moves left one character K or ^p up a row J or ^j or ^n Move down one line L or a character to the right G move to the last line of the file NG moves to the nth row of the file W moves to the beginning of the next word W moves to the beginning of the next word, ignoring punctuation b move to the beginning of the previous word B move to the beginning of the previous word, ignoring punctuation L move to the last line of the screen M moves to the middle line of the screen H moves to the first line of the screen e moves to the end of the next word E moves to the end of the next word, ignoring punctuation ( move to the beginning of the sentence move to the end of the sentence { move to the beginning of a paragraph move to the beginning of the next paragraph 0 or | Move to the first column of the current row n| Move to nth column of the current row ^ move to the first non-null character of the current line $ move to the last character of the current line + or return moves to the first character of the next line - move to the first non-empty character of the previous line
VIM Cursor Movement Common commands