mercredi 21 janvier 2015

Edit Nth occurence interactively in a search in vim


Given a text with multiple occurrences of the word foo, I would like to do an interactive search through the text, and upon the Nth occurrence of foo, edit it.


I can only find the search and replace patterns for this kind of action, but the point is that I do not want to edit all occurrences of foo, just the one I found in some context.



Aucun commentaire:

Enregistrer un commentaire