vimtricks.wiki Concise Vim tricks, one at a time.

How do I move the cursor to the bottom of the visible screen?

Answer

L

Explanation

The L command moves the cursor to the last line visible in the current window. It stands for "Low" and completes the H/M/L trio for screen-based navigation.

How it works

  • L places the cursor on the bottommost visible line
  • The cursor moves to the first non-blank character
  • {count}L moves to the N-th line from the bottom

Example

If the screen shows lines 50-80, pressing L moves the cursor to line 80.

Tips

  • H, M, and L are screen-relative, not file-relative
  • 3L moves to the 3rd line from the bottom
  • dL deletes from the current line to the bottom of the screen
  • Great for quick visual positioning without scrolling

Next

How do you yank a single word into a named register?