Vim - How to Change, Yank, or Delete Until
The sentence I was trying to edit…
This is the stuff I want to delete, the text this side of the comma stays safe.
"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 :)