starthello·worldcursoriw — the whole worddiw·worldaw would take the space too.
The cursor is nowhere special — third letter in — and iw takes the word anyway. That is the difference between a motion, which starts where you are, and an object, which knows its own edges.
Vim The inner word: diw ciw
intermediate » Delete the word the cursor is inside.
goal
world
scratch.txt
1 hello world
-- NORMAL -- 1,3
keys
your keystrokes appear here as you press them
NORMAL ~/learn/vim-motions · 1/2 · diw real vim keys trail · always esc in-editor

Best on a keyboard

“The inner word: diw ciw” 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/inner-word utf-8 LF