w$iwd — deletedwd$diwc — changecwc$ciwy — yankywy$yiwOperator + motion. Learn one, gain a row and a column.
This is why Vim is worth learning: you memorise three operators and three motions, and you get nine commands. Add a fourth motion and every operator gains it for free.
Vim Yank & paste: y p P
beginner » Swap two characters with xp.
goal
the
scratch.txt
1 teh
-- NORMAL -- 1,2
keys
your keystrokes appear here as you press them
NORMAL ~/learn/vim-motions · 1/3 · xp real vim keys trail · always esc in-editor

Best on a keyboard

“Yank & paste: y p P” is a hands-on typing drill — it needs a physical keyboard. Open it on a laptop or desktop to play. You can still browse and read everything here on your phone.

Back to course →
NORMAL ~/memra/learn/vim-motions/yank-and-paste utf-8 LF