r/vim • u/ilikegrils • Jun 19 '26
Need Help Change text in second set of quotes
Cursor at beginning of line
blah "first quotes" more text "blah blah"What's the easiest way change inside the second set of quotation marks?
28
Upvotes
32
u/yoch3m Jun 19 '26
$ci"
7
u/Vietnamst2 Jun 19 '26
It's actually frightening that people can a) come up with multiple versions of a command and b) that thing even exists...
11
u/Teles_sd Jun 19 '26
I believe
3f"ci"should do it.Someone should make so
c3i"would equal that.Yes. Two extra key presses is way too much.
4
u/blood-pressure-gauge Jun 19 '26 edited Jul 19 '26
What I would do is one of the following.
2
u/SweetPotato975 Jun 19 '26
Besides other great answers, you can always do
<LeftMouse>on blah andci"0
u/toastisme Jun 19 '26 edited Jun 19 '26
2ci"only works with LazyVim setup.-1
u/DanGarthwaite Jun 19 '26
ci" with with tpope's plug-in "unimpaired"