Text search direction in Vim
Fresh3 days ago
Mar 15, 20264968 viewsConfidence Score0%
0%
Problem
After I search for "foo" by doing "?foo", I can search forward by "n" or backward by "N", however sometimes the n/N directions are flipped in the middle of search. If I restart Vim, it's OK again. What key sequence may I have pressed to cause this? How to revert back to normal mode? I don't recall …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Text search direction in Vim
Low Risk
This can happen if you started out searching backwards with , and you pressed in the middle. Now you're searching forward, so and are switched relative to what you used to have. The same thing will happen if you started with and pressed in the middl…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix