Vim Command to Search

/search-pattern

In normal mode, type the forward-slash followed by the pattern you'd like to search for.

Vim uses regular expressions for search. This is a very powerful and compact way to search through text. But, regular expressions can be difficult to work with. Start by searching for exact patterns and then start to add wildcards and other concepts from regular expressions.