Use the shortcut key of linux vim to move the cursor.
Move cursor
H or left arrow: The cursor moves a character to the left, and the numbers and letters are used together. 5 h indicates that 5 characters are moved to the left, and so on.
J or right arrow: move the cursor down a character
K or Up Arrow: move the cursor up to a character
L or Down Arrow: move the cursor one character to the right
Ctrl + f: move the cursor down a page
Ctrl + B: move the cursor up one page
Ctrl + d: move the cursor down half page
Ctrl + u: move the cursor up half page
+: Move the cursor to the next line without spaces
-: Move the cursor to the previous line without spaces
N <space>: n indicates a number. For example, press "10" and then press the space key. The cursor will move the 10 characters in the row to the right.(Common)
0 or home key: move the cursor to the beginning of the line(Common)
$ Or end key: move the cursor to the end of the line(Common)
G: Move to the last row of the file (Common)
NG: n indicates a number, for example, 10G. move the cursor to the 10th line of the file (Common)
Gg: move the cursor to the first line of the file.(Common)
N + enter key: move the cursor down n rows. For example, press 10 first and press enter to move the cursor down 10 rows.(Common)