Reputation: 47
I have a file that has over 100k lines that start with similar words like parsing file or warning. I frequently need to bypass these line and move to texts following them.
How do I navigate to the last lines of such similarly starting lines?
The text is not segmented in paragraphs.
Upvotes: 1
Views: 43
Reputation: 224942
You can search for lines that don’t start with things you want to ignore:
/^\(parsing file\|warning\)\@!
\@!
is a negative lookahead.
Upvotes: 1