Skip to content
Vim Learn
Learn/

Change Inside Quotes

34 / 51

Text Objects · Quotes

Change Inside Quotes

Replace a string value while keeping its quote style.

ci followed by the active quote type moves directly into editing the value and avoids deleting syntax that should remain.

Use ci", ci', and ci` in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

ci"
Change inside the double quotes, keeping the marks
ci'
Change inside the single quotes, keeping the marks
ci`
Change inside the backticks, keeping the marks
All 91 keys →

Practice against the clock.

The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.

ci'readyEsc

Change the single-quoted value to “ready”.