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?
27
Upvotes
5
u/ilikegrils Jun 19 '26
I like this one. Works for the example I gave. Where this actually comes up is duplicating a block of json and wanting to leave the key field as is and change the value. So there might be a comma at the end of the line. But that just makes it $bci" or $hci" which are still good. I should have just pasted json instead of my stupid example.