代码改变世界

vscode 快捷键配置

2019-02-11 15:10  JohnRain  阅读(356)  评论(0编辑  收藏  举报

files --> Preferences --> Keyboard Shortcuts

    {
        "key": "ctrl+b",
        "command": "-workbench.action.toggleSidebarVisibility"
    },
    {
        "key": "ctrl+b",
        "command": "python.execInTerminal"
    },
    {
        "key": "escape",
        "command": "workbench.action.closePanel",
        "when": "activePanel"
    },
    {
        "key": "escape",
        "command": "workbench.action.terminal.toggleTerminal",
        "when": "panelFocus && activePanel == 'workbench.panel.terminal'"
    },