How do I search for a pattern that spans multiple lines in Vim?
/pattern\_s\+next
Vim's regular expressions support multi-line matching through underscore-prefixed atoms.
/pattern\_s\+next
Vim's regular expressions support multi-line matching through underscore-prefixed atoms.
/pattern1\_.*pattern2
Vim's \ modifier makes any character class match newlines too.
/foo\_.*bar
Vim's default .