Last Updated: February 25, 2016
·
373
· sleparc

Vim tip (F&T command)

Looking for new ways to be productive with vim? Have you used the power of the F or T command?

Here is how it works:

F/T combined with any other traditional vim command like c (change), d (delete), v (visual) will select text until the next character specified.

Examples:

ct[ will change every character until the next [ character

cf[ will change every character until the next [ character (including the [)

Pretty nice, right?