美文网首页
VScode快捷键

VScode快捷键

作者: 米酒真香 | 来源:发表于2018-10-26 09:35 被阅读13次
    // 将按键绑定配置放入此文件中即可覆盖默认值
    [
        {
            "key": "alt+1",
            "command": "workbench.action.toggleSidebarVisibility"
        },
        {
            "key": "ctrl+b",
            "command": "-workbench.action.toggleSidebarVisibility"
        },
        {
            "key": "shift+enter",
            "command": "editor.action.insertLineBefore",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "ctrl+shift+enter",
            "command": "-editor.action.insertLineBefore",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "ctrl+b",
            "command": "workbench.action.terminal.runActiveFile"
        },
        {
            "key": "ctrl+alt+w",
            "command": "editor.action.toggleWordWrap"
        },
        {
            "key": "alt+z",
            "command": "-editor.action.toggleWordWrap"
        },
        {
            "key": "alt+o",
            "command": "workbench.action.files.openFolder"
        },
        {
            "key": "ctrl+k ctrl+o",
            "command": "-workbench.action.files.openFolder"
        },
        {
            "key": "ctrl+shift+d",
            "command": "editor.action.copyLinesDownAction",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "shift+alt+down",
            "command": "-editor.action.copyLinesDownAction",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "ctrl+shift+up",
            "command": "editor.action.moveLinesUpAction",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "alt+up",
            "command": "-editor.action.moveLinesUpAction",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "ctrl+shift+down",
            "command": "workbench.action.terminal.scrollDown",
            "when": "terminalFocus"
        },
        {
            "key": "ctrl+alt+pagedown",
            "command": "-workbench.action.terminal.scrollDown",
            "when": "terminalFocus"
        },
        {
            "key": "ctrl+k ctrl+s",
            "command": "-workbench.action.openGlobalKeybindings"
        }
    ]
    

    相关文章

      网友评论

          本文标题:VScode快捷键

          本文链接:https://www.haomeiwen.com/subject/xsfktqtx.html