Hacker News new | ask | show | jobs
by _frog 2955 days ago
I'm also a big fan of `ci[(|'|"]` to change all the text between a pair of delimiters. I can type `ci"` while my cursor's at the start of the line, and it'll jump to the first set of double quotes, remove the text that's currently between them, and enter edit mode.
2 comments

You can also use `cib` to change text between braces and `ciB` to change text between curly braces.
Isn't this part of vim-surround?

http://github.com/tpope/vim-surround

I'm fairly sure that works out of the box. I get annoyed when another editor's VIM mode doesn't properly emulate it.