1. Move the cursor
Move command by character:h Description: Move left Command:l Description: Move right command:j Description: Move Down command:k Description: Move up command: #h Description: #表示位数, move the # character to the left Example:4h move command by word:w Description: Move to the beginning of the next word command:e Description: Jumps to the ending of the current or next word command:b Description: Jumps to the beginning of the current or previous word in-line jump command:0 Description: Absolute beginning command:^ Description: First non-whitespace character &n at the beginning of a linebsp; command:$ Description: Absolute end of line inline Jump command: #G Description: Jump to # line Example:3g command:g Description: Jump to the last line example:g command: # Description: In the last line mode, directly to the travel number to jump to line 2nd Example: 2
This article is from the "Yan" blog, please be sure to keep this source http://suyanzhu.blog.51cto.com/8050189/1942631
VI Command-MOVE cursor