Vim Tips: Searching a File for Multiple Strings Gregg July 24, 2023 In Vim you can perform a search like this: /string1/;/string2 This will will combine two searches. It tells Vim: Search for string1, then From there search for string2 on any line that also contains string1. Cli Vim Search Motd