FG

Vim: How do you efficiently search for text?

Fresh3 days ago
Mar 15, 202610488 views
Confidence Score0%
0%

Problem

Whenever you want to search for text in vim you would type / and then the string you are looking for. However, when the string is a long one, and you want to do this multiple times, is there a way to do it so that you don't have to type / more than once?

Error Output

andthisreallylongstring

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Vim: How do you efficiently search for text?

Low Risk

Press "n" after you completed a search, then it will repeat the previous action(search).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment