Vim: Useful text objects and motions

Flashcard 6 of 7

What's a good way to change from our cursor until the word "here"?

Better change the text all the way up until here.

In this case, using a search as a motion is probably best:

c/here

  1. c - change
  2. /here - until you find the word "here"
Return to Flashcard Results