You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After you search for a string using '/' or '?', subsequent n / N do not honor search direction, i.e. n always searches top-to-bottom and N bottom-to-top.
This works differently from vi where n (N) searches for the next (previous) occurence based on the search direction.
To Reproduce
Search reverse for a string using ? string1
Type n to search for next occurence -> is one lower on the screen
Search reverse for a string using ? string2
Type N to search for previous occurence -> is one higher on the screen
Expected behavior
Next string1 occurence should be higher on the screen
Previous string2 occurence should be one lower on the screen
The text was updated successfully, but these errors were encountered:
Describe the bug
After you search for a string using '/' or '?', subsequent n / N do not honor search direction, i.e. n always searches top-to-bottom and N bottom-to-top.
This works differently from
vi
where n (N) searches for the next (previous) occurence based on the search direction.To Reproduce
Search reverse for a string using
? string1
Type n to search for next occurence -> is one lower on the screen
Search reverse for a string using
? string2
Type N to search for previous occurence -> is one higher on the screen
Expected behavior
Next string1 occurence should be higher on the screen
Previous string2 occurence should be one lower on the screen
The text was updated successfully, but these errors were encountered: