5. Vim Navigation

Now you may notice, the mouse is nowhere in use here. To navigate a text document in Vim, use the following keys:

  • h or the left arrow - will move you left one character
  • j or the down arrow - will move you down one line
  • k or the up arrow - will move you up one line
  • l or the right arrow - will move you right one character

Sign in to save your learning progress

Sign in

Exercises

Practice makes perfect! Here are some hands-on labs to reinforce your understanding of text editor navigation and usage:

  1. Edit Text Files in Linux with Vim and Nano - Practice creating files, editing text, saving files, and navigating with both Vim and Nano in a real Linux environment.

This lab will help you apply the concepts in real scenarios and build confidence with text editing in Linux.

Quiz

What letter is used to move down?