kasecato / vscode-intellij-idea-keybindings

Port of IntelliJ IDEA key bindings for VS Code.
https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings
MIT License
828 stars 135 forks source link

Can't input unicode characters using ALT+numpad keys #360

Closed LoneDev6 closed 4 months ago

LoneDev6 commented 4 months ago

With the current state of this plugin you can't use ALT+numpad to input unicode characters, for example ALT+9 is used to input ```. There is a simple fix if anyone has this issue.

Open your keybindings file and add these:

[
    {
        "key": "alt+numpad9",
        "command": "-workbench.view.scm",
        "when": "editorFocus && workbench.scm.active"
    },
    {
        "key": "alt+numpad9",
        "command": "-workbench.action.toggleSidebarVisibility",
        "when": "!editorFocus"
    },
    {
        "key": "alt+numpad1",
        "command": "-workbench.view.explorer",
        "when": "editorFocus && viewContainer.workbench.view.explorer.enabled"
    },
    {
        "key": "alt+numpad5",
        "command": "-workbench.view.debug",
        "when": "editorFocus && viewContainer.workbench.view.debug.enabled"
    },
    {
        "key": "alt+numpad3",
        "command": "-workbench.view.search",
        "when": "workbench.view.search.active && !searchViewletVisible"
    },
    {
        "key": "alt+numpad1",
        "command": "-workbench.action.toggleSidebarVisibility",
        "when": "!editorFocus"
    },
    {
        "key": "alt+numpad3",
        "command": "-workbench.action.toggleSidebarVisibility",
        "when": "searchViewletVisible"
    },
    {
        "key": "alt+numpad5",
        "command": "-workbench.action.toggleSidebarVisibility",
        "when": "!editorFocus"
    },
    {
        "key": "alt+numpad0",
        "command": "-workbench.actions.view.problems",
        "when": "workbench.panel.markers.view.active"
    }
]