Change Around Brackets

Change text and brackets with ca(, ca[, ca{

Open companion guide

Goals

0/2
  • Change around brackets with ca(
  • Replace brackets and their contents
Keys 0 · par 25

Instructions

  1. 1.Use ca( to change around the parentheses
  2. 2.Type "[replaced]" and press Escape
Quick KeysNORMAL
h j k lMove cursor
w b eWord movement
i a oEnter insert
dDelete
yYank (copy)
pPaste
uUndo
vVisual mode
:Command mode
/Search

Community pulse

Weekly top score
Leaderboard warming up...
Daily challenge
Loading challenge...
Vim mode: normal

Practice buffer · reset restarts the lesson (not vim u)

Lesson Companion

Use Change Around Brackets in real editing

This companion guide helps you complete Change Around Brackets with fewer mistakes and better command fluency.

Quick Command Cheatsheet
  • ca(
  • brackets
When to Use This Motion/Operator

Use this lesson whenever you need to target semantic units like words, quotes, or brackets with fewer keystrokes.

  • Prefer this over arrow-key micro-movements before each edit.
  • Use this pattern whenever you're working inside Text Objects tasks.
  • Reach for ca(, brackets when this pattern appears.
Common Mistakes
  • Manually selecting text with Visual mode instead of using inner/around text objects.
  • Confusing the inner (i) and around (a) text object variants.
FAQ

How long should this lesson take?

Target completion is 45 seconds, but correctness matters more than speed at first.

Should I move to the next lesson if my score is low?

Advanced patterns take longer to feel natural, so a lower score on the first pass is normal — prioritize accuracy over speed here.