-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated search of the same text doesn't work #652
Comments
Reproduced this as well, thanks for reporting! Should be straightforward to remember what was last searched incase an empty search string is used following it. |
We haven't even cleared out the search history at this point. This should be like a 3 line change. 😉 |
@johnfn seems we do https://github.com/VSCodeVim/Vim/blob/master/src/actions/actions.ts#L775 . But it should be still simple as we only need to postpone the reinitialization. |
I will get to it tonight for sure if it still exists then :) |
@rebornix oops, just move that code to here i think https://github.com/VSCodeVim/Vim/blob/master/src/actions/actions.ts#L614 |
Thanks @xconverge ! Which release will this fix be in? |
@johnfn can this be reopened or should I file a new issue? This does NOT seem to work now... |
@xconverge let's track it here. |
I 100% messed this fix up first time around...sorry, no idea what was going on there... |
What did you do?
Want to search for words in my file.
Put the exact keys you pressed, if relevant.
Pressed "/" to filled in text to search for.
It searched for first matching word.
But when I press "/" again and hit , it should automatically continue searching the file for next match.
What did you expect to happen?
When pressing "/" and hitting it should automatically search for the last text that was searched for.
What happened instead?
Pressing "/" and hitting the second or more time does nothing. You have to manually fill in the same text each time.
Technical details:
The text was updated successfully, but these errors were encountered: