Vim - How to Change, Yank, or Delete Until

I learnt some new vim ninja moves, how to yank, change, or delete until a thing.

The sentence I was trying to edit…

This is the stuff I want to delete, the text this side of the comma stays safe.

The commands

"d" "/" "," "<Enter>"

Let me break it down

This is how it sounds in my head:

Delete until you find the comma

Here’s the beauty of it, that comma can be replaced by a full string, so this is powerful pair of command & motion.

Composing commands & motions

Is starting to feel more intuitive :)

Source of the magic