Site icon LinuxCommands.site

vim tutorial: vim cursor move

Vim cursor movement can help us quickly locate the position.

This article will show you how to use vim shortcut keys to move the cursor.

Vim cursor movement shortcut keys:

Examples

In the following example, use vim shortcut keys to move the cursor to the end of the screen and move the cursor to the end of the file.

  1. Open the terminal and use vim to open the file: go.sh

2. In normal mode, press shift + l to move the cursor to the end of the screen.

3. In normal mode, press shift + g to move the cursor to the end of the file.

Exit mobile version