Does emacs have the equivalent of VIMs ci" command? Basically I want to replace the text inside a set of quotation marks.
In vim I can ci) or ci] or ci} to "change inner *"...
|
feedback
|
|
Off the top of my head, the closest command is There is also | |||
|
feedback
|
|
Yes! The equivalent of VIMs ci" command in Emacs is... ci" :-) | ||||
|
feedback
|
|
Similarly to Justin's suggestion C-M-SPACE gives you "mark-sexp" which will select to the balancing paren, quote, etc. and then you can C-w or whatever to make it go away. In case you want to SEE what you're about to delete before you delete it... | |||
|
feedback
|
|
I'm afraid I don't know about VIM's ci feature, but have you looked at Emacs regexp replace? I can't speak to the exact semantics or how easy it is to use in comparison, but it's what I would use for what I think you want. | |||
feedback
|
|
Just stumbled upon this question; here is a custom solution that's worked for me:
Then bind delete-between-pair to whatever key you like. For me, I have it bound on C-z i. | |||
|
feedback
|
|
I've made a minor mode which provides some of those Vim facilities called Markit. | |||
|
feedback
|