2

I know the ci" motion and others :changes, but I need something like a ci\" in order to change inner a backslashed quotes. Assuming * as the cursor position:

a = "message says: \"fo*o bar\""

I would like to perform a ci which gives me a:

a = "message says: \"*\""

And then start writing inside the backslashed quotes.

2

This could be implemented using: https://github.com/kana/vim-textobj-user

Lots of existing plugins are close to this behavior, but none seems to answer the question yet.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.