最佳答案
There is a phrase that I want to look for in Vim. When found, I want to delete that occurrence of the phrase. What is the easiest way to cycle through all the occurrences (via n
), and delete a match one by one (I do not want to delete all of them at once).
Note: I know I can delete a certain number of characters or a number of words, but I want to specifically remove the match of my search. Is this possible?