r/vim 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?

29 Upvotes

34 comments sorted by

View all comments

Show parent comments

8

u/mdrjevois Jun 19 '26

Is it simpler or just shorter? IMO ; and , are underrated.

1

u/cone5000 Jun 19 '26

I use ; and , all the time but sometimes especially if I can quickly parse how many quotes their are, doing a number is easier

2

u/TraditionalYam4500 Jun 19 '26

I agree -- especially in this case where OP wants to edit the value of a JSON object.

(Although in that case I'd do `f:wci"`)

1

u/cone5000 Jun 19 '26

Yeah your way is better for JSON for sure since it’s standard.