-
-
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
1.17.[0/1] Regression: VSCode find now enters Visual mode, it should remain in Normal mode #5495
Comments
Issue #5491 might be related. |
This happens because recently a change was made so that every time vscode creates a selection Vim goes to visual mode. This is needed so you can have commands and keybindings like 'editor.action.smartSelect.grow' put you in visual mode as expected. In normal VIM the same thing happens, every time some action results in a selection VIM changes to visual mode. The same thing happens now on this extension. The problem is that there are a lot of situations that vscode creates a selection when it wasn't necessary, like when jumping in a peek window as mentioned in #5249. The same thing happens when using vscode find, vscode selects the found word so Vim goes to visual mode. Usually when you're finding a word you intend to do something with it like copying it or replacing it and you can do that in visual mode with 'y', 'c' or even append to the word with 'A'. Maybe this change could be behind a user setting to give the option to the user. |
+1 I'm also suffering from new problems due to this (mac).
|
That is a different issue that should be fixed on the next version. |
same problem here |
+1 for putting it behind a flag |
I wanted to try vscode Find and ran in this issue, too. @berknam I don't know the technical detail of your PR (meaning: are the more situations where we want to capture new selection). If selection.grow is the main use case, could we not create a simple wrapper around it? Like: export class ActionOverrideCmdD extends BaseCommand |
And how to downgrade to 1.16.0? |
under "Uninstall" select "Install Another Version" |
Downgrading is not a solution, because prior to 1.16. version operatorPendingModeKeyBindings not working ( |
PS. An easy workaround is to change the |
Is there any solution for this issue besides the downgrade? Is this issue actual? |
Describe the bug
VSCode's native find now enters Visual mode, it should remain in Normal mode. I've downgraded to 1.16.0 to get around it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should remain in normal mode. Similar to how / works for Vim's native search
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: