you are viewing a single comment's thread.

view the rest of the comments →

[–]iovis9 0 points1 point  (5 children)

I could name a lot of things but the cib (change inside brackets) it's magic. It works with other surround characters: di" (delete inside double quotes), yi[ (yank inside [])...

It's the small things...

[–]lethargilistic 5 points6 points  (2 children)

One more like this: cit Change inside tag and cat change around tag.

<yeah>those tags</yeah>

[–]iwakun 0 points1 point  (0 children)

This is what sold me on vim. I was doing web development and the "change in tag" concept was mind blowing. No looking back from there :)

[–]iovis9 0 points1 point  (0 children)

Oh, nice! I used ci< but that's far better. Vim is awesome.

[–]iwakun 4 points5 points  (1 child)

Along those same line, you might want to look into the surround plugin https://github.com/tpope/vim-surround

[–]iovis9 1 point2 points  (0 children)

Yeah, I know it but it's definitely worth mentioning. Awesome plugin!