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.

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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