Skip to content
Vim
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. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.

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 to learn it. Test to prove it.

Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 8 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

ci"liveEsc

Change the quoted value to “live”.