Bryan Says...

Rants, opinions, and other stuff I find interesting.

Introduction to vim text objects

It has been way too long, since I’ve shared a video on vim. Today I want to introduce vim text objects to those of you who might be unfamiliar. Text objects provide an extremely easy way to interact with text using motion commands.

  • taf2

    don’t forget ct”  or dt”  to cut to or delete to a character in my example “, but it could be any character… also % to match the braces…  c%  ca and ci are definitely handy when you’re slapping the text around too :)

  • http://smartic.us bryanl

    I’m a big fan of [motion]t[char].