When you’re paging through a long file with many similar lines, sometimes you want to jump to the first line that doesn’t match the current crop. For example, say you’re staring at lines and lines that begin “drop INDEX ” and you want to jump to the first line that doesn’t begin with that:

/^\(drop INDEX \)\@!

will get you there.

Advertisements