Vim Text Objects : The Definitive Guide
Vim's text objects are one of the fundamental things that make using it so awesome.<p>I've had a bit of code in my vimrc that creates "next/previous" text objects for a while.  Someone came along and helped me make it more compact a while ago, but I can't remember who.<p>It lets you use "din(" for "delete in next parens (on the current line)", which saves a bit of typing.<p><a href="https://bitbucket.org/sjl/dotfiles/src/1b6ffba66e9f/vim/.vimrc#cl-1023" rel="nofollow">https://bitbucket.org/sjl/dotfiles/src/1b6ffba66e9f/vim/.vim...</a><p>Maybe I should turn it into a pathogen-installable plugin one of these days.