美文网首页
Vscode 个人自定义快捷键

Vscode 个人自定义快捷键

作者: ysnows | 来源:发表于2017-07-11 11:11 被阅读157次
// 将键绑定放入此文件中以覆盖默认值
// 将键绑定放入此文件中以覆盖默认值
[
    {
        "key": "ctrl+cmd+l",
        "command": "cursorEnd",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+j",
        "command": "cursorDown",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+h",
        "command": "cursorLeft",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+cmd+h",
        "command": "cursorHome",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+l",
        "command": "cursorRight",
        "when": "editorTextFocus"
    },
    {
        "key": "cmd+l",
        "command": "editor.action.deleteLines",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "cmd+alt+l",
        "command": "editor.action.formatDocument",
        "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
        "key": "cmd+shift+enter",
        "command": "editor.action.insertLineAfter",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+alt+l",
        "command": "cursorWordEndRight",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+alt+h",
        "command": "cursorWordStartLeft",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+cmd+space",
        "command": "workbench.action.debug.start",
        "when": "!inDebugMode"
    },
    {
        "key": "cmd+i",
        "command": "editor.action.quickFix",
        "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
    },
    {
        "key": "cmd+e",
        "command": "workbench.action.quickOpen"
    },
    // {
    //     "key": "shift+cmd+space",
    //     "command": "workbench.action.tasks.build"
    // },
    {
        "key": "shift+cmd+h",
        "command": "editor.action.marker.next",
        "when": "editorFocus && !editorReadonly"
    },
    {
        "key": "cmd+5",
        "command": "workbench.action.terminal.toggleTerminal"
    },
    {
        "key": "cmd+1",
        "command": "workbench.action.toggleSidebarVisibility"
    },
    {
        "key": "shift+cmd+s",
        "command": "workbench.files.action.showActiveFileInExplorer"
    },
    {
        "key": "ctrl+k",
        "command": "cursorUp",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+j",
        "command": "repl.action.historyPrevious",
        "when": "editorTextFocus && inDebugRepl && onFirsteDebugReplLine"
    },
    {
        "key": "ctrl+k",
        "command": "list.focusUp",
        "when": "listFocus"
    },
    {
        "key": "ctrl+k",
        "command": "search.action.focusSearchFromResults",
        "when": "firstMatchFocus && searchViewletVisible"
    },
    {
        "key": "ctrl+k",
        "command": "search.focus.previousInputBox",
        "when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
    },
    {
        "key": "ctrl+k",
        "command": "showPrevParameterHint",
        "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
    },
    {
        "key": "ctrl+k",
        "command": "selectPrevSuggestion",
        "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
    },
    {
        "key": "ctrl+k",
        "command": "workbench.action.interactivePlayground.arrowUp",
        "when": "interactivePlaygroundFocus && !editorTextFocus"
    },
    {
        "key": "ctrl+j",
        "command": "workbench.action.quickOpenSelectNext",
        "when": "inQuickOpen"
    },
    {
        "key": "ctrl+j",
        "command": "repl.action.historyNext",
        "when": "editorTextFocus && inDebugRepl && onFirsteDebugReplLine"
    },
    {
        "key": "ctrl+j",
        "command": "list.focusDown",
        "when": "listFocus"
    },
    {
        "key": "ctrl+j",
        "command": "search.focus.NextInputBox",
        "when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
    },
    {
        "key": "ctrl+j",
        "command": "showNextParameterHint",
        "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
    },
    {
        "key": "ctrl+j",
        "command": "selectNextSuggestion",
        "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
    },
    {
        "key": "ctrl+j",
        "command": "workbench.action.interactivePlayground.arrowDown",
        "when": "interactivePlaygroundFocus && !editorTextFocus"
    },
    {
        "command": "workbench.action.quickOpenSelectPrevious",
        "key": "ctrl+k",
        "when": "inQuickOpen"
    },
    {
        "key": "cmd+k",
        "command": "workbench.action.gotoSymbol"
    },
    {
        "key": "shift+cmd+9",
        "command": "workbench.action.previousEditor"
    },
    {
        "key": "alt+cmd+left",
        "command": "-workbench.action.previousEditor"
    },
    {
        "key": "shift+cmd+0",
        "command": "workbench.action.nextEditor"
    },
    {
        "key": "alt+cmd+right",
        "command": "-workbench.action.nextEditor"
    },
    {
        "key": "shift+cmd+o",
        "command": "workbench.action.showCommands"
    },
    {
        "key": "shift+cmd+p",
        "command": "-workbench.action.showCommands"
    },
    {
        "key": "cmd+d",
        "command": "editor.action.copyLinesDownAction",
        "when": "editorTextFocus && !editorReadonly"
    }
]

相关文章

  • vscode自定义大小写转换快捷键

    vscode当前版本没有提供大小写转换快捷键,通过网上搜索,可以进行自定义快捷键,方法如下 一、打开vscode,...

  • VSCode使用技巧

    VSCode所有的快捷键,都可以进行自定义,只需要通过设置->键盘快捷键方式->搜索快捷键->双击键入自定义快捷方...

  • 默认快捷键

    一、VSCode常用的快捷键 注意,其实这个快捷键都是可以自定义的,为了防止自定义快捷键和默认冲突我,我们先熟悉默...

  • vsCode 快捷键

    vsCode的快捷键: 非常全的VsCode快捷键 - CSDN博客

  • Vscode 个人自定义快捷键

  • VScode 快捷键大全

    VScode 快捷键大全 [TOC] 最最常用的 vscode 快捷键 快捷键功能F2重命名符号Ctrl + L选...

  • 第三章 vscode的界面配置

    目录 第一章 初次接触vscode第二章 vscode快捷键的使用第三章 vscode的界面配置 前言 每个人都有...

  • VS Code

    [TOC] 插件 VSCode折腾记-(1)快捷键大全 【备忘】 vscode 必备插件VsCode中使用Emme...

  • VScode常用快捷键

    最近IDE从sublime变成了vscode,vscode真的贼好用,加上快捷键简直无敌 关于更多快捷键https...

  • phpstorm 在phpstorm编辑器中使用vscode快捷

    把phpstorm快捷键改成vscode快捷键file --> Settings --> Keymap -->下拉...

网友评论

      本文标题:Vscode 个人自定义快捷键

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