Mission 44 / 52• Text Objects - Paragraphs

Change Inside Paragraph

`cip` wipes out the block and immediately drops you into insert mode.

Ideal for replacing an entire function body, config object, or multiline comment.

Change inside paragraph

  • cipchange inside paragraph and enter insert mode
1
function oldLogic() {
2
const a = 1;
3
return a;
4
}

Type `cip` to wipe out the old logic and write a fresh replacement.

Now it's your turn!

0 / 4 tasks complete0.0s / 43s par0 / 92 par

Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.

Task 1: Replace the legacy paragraph with const modern = true; using cip. Return to normal mode.

Expected result
const modern = true;

// Active block
const ready = true;
Show hint

Use cip, type const modern = true;, then Escape.

1
// Legacy block
2
const old = true;
3
4
// Active block
5
const ready = true;
jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next