Stop using arrow keys in Neovim

·cheatly.dev
Neovim motions demo
Word motions, line jumps, and half-page scrolling in action

Every Neovim tutorial tells you to stop using arrow keys. It sounds like gatekeeping, but there's a real reason: the arrow keys are far from the home row. Every time you reach for them, your hands leave the position where all the other useful keys live. Hundreds of times per day.

Neovim's motion system keeps your fingers where they are and gives you something far more powerful than moving one character at a time.

h, j, k, l

The four home-row keys replace the four arrow keys.

Character Movement
h
Left
j
Down
k
Up
l
Right

The important part: don't hold j to scroll. If you're pressing it twenty times, there's a faster way to get where you're going.

Word motions

Moving by words instead of characters is where it starts to feel different.

Word Motions
w
Next word start
b
Previous word start
e
End of current/next word
WBE
Same but skip punctuation (WORD-wise)

Lowercase treats punctuation as word boundaries (user.name = 3 words). Uppercase only breaks on whitespace.

Prefix any motion with a number: 3w jumps three words forward, 5j moves five lines down. Works with almost every motion.

Line motions

Getting to the right spot on the current line:

Line Motions
0
Beginning of line
^
First non-blank character
$
End of line

How to learn this

Don't learn everything at once:

  1. Week 1: Use h, j, k, l exclusively. Two days of pain, then it's natural.
  2. Week 2: Add w, b, e, 0, $. You'll immediately feel faster.

Once this is muscle memory, you're ready for the motions that change everythingf/t jumps, screen scrolling, and the composable grammar that makes Neovim users so fast.

Full reference: Neovim cheatsheet and motions deep dive.