I need a macro/function/something, so that when a user presses F3 in vim, I need to find all the paragraphs (inside a utf-8 buffer), which contain three simple patterns (lets say for starters just fixed text strings) found in registers a, b and c . And then I need to let the user somehow navigate through these paragraphs (jump to first, next, previous, last) with the found patterns/strings highlighted, and allow him to modify the contents of the buffer in those paragraphs (i.e. just an extract would not work, navigation within and modification of the original buffer is needed)A paragraph is a text sequence which does not contain \n\nWhat would a macro/function/whatever that accomplishes this look like?
search within a paragraph, not across paragraphs
regular expression;multiple lines