Skip to content
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

How to quit the keystroke displaying mode? #4213

Open
metalbrick opened this issue Oct 24, 2019 · 4 comments
Open

How to quit the keystroke displaying mode? #4213

metalbrick opened this issue Oct 24, 2019 · 4 comments
Labels

Comments

@metalbrick
Copy link

metalbrick commented Oct 24, 2019

After input <> in Normal mode, I enter some wired mode, which I can not move the cursor nor input other commands, but showing the keystroke in status bar.
Only reopening the tab get me to the normal mode.

After I delete the vim.normalModeKeyBindingsNonRecursive settings, the issue disappeared. Settings are as follows:

    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": [
                "<C-n>"
            ],
            "commands": [
                "workbench.action.files.newUntitledFile"
            ]
        },
        {
            "before": [
                "u"
            ],
            "commands": [
                "undo"
            ]
        },
        {
            "before": [
                "<C-r>"
            ],
            "commands": [
                "redo"
            ]
        },
    ],
@J-Fields
Copy link
Member

What a weird little bug. <> shouldn't do anything on its own, right? Are you trying to bind it to some action?

@metalbrick
Copy link
Author

2019-10-25 (1)
This is the snapshot of status bar after I reproduced the issue, and it occur on both Linux and windows.

@metalbrick
Copy link
Author

metalbrick commented Oct 26, 2019

No one ran into the same issue except me ?

@metalbrick
Copy link
Author

I found that this happened if I set "vim.normalModeKeyBindings" or "vim.normalModeKeyBindingsNonRecursive" in setting file.

Here's my setting file

    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": [
                "<C-n>"
            ],
            "commands": [
                "workbench.action.files.newUntitledFile"
            ]
        },
        {
            "before": [
                "u"
            ],
            "commands": [
                "undo"
            ]
        },
        {
            "before": [
                "<C-r>"
            ],
            "commands": [
                "redo"
            ]
        },
    ],

After I delete this piece of configurations, the problem disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants