I'd like a vi command that would replace from the location of the cursor to a given token. For example starting with
word blah blah =(
I'd like if I locate the cursor at the space after word
to be able to replace everything between the cursor and the equality sign with, say, #,
obtaining
word#(
I'm sure if I could understand this thread, I could figure it out, but that thread is much more complicated than what I need.