summaryrefslogblamecommitdiff
path: root/profiles/main/data/keybindings-linux.json
blob: 1417c8fe06ad33871cb8b0b7beef047c5c604369 (plain) (tree)



































































































                                                         





































                                                                                                               



















                                                                               



                                               

     
[
    // [Editing]
    {
        "key": "ctrl+d",
        "command": "editor.action.duplicateSelection",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+/",
        "command": "editor.action.commentLine",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "alt+enter",
        "command": "editor.action.codeAction",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+ctrl+up",
        "command": "editor.action.moveLinesUpAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "shift+ctrl+down",
        "command": "editor.action.moveLinesDownAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+backspace",
        "command": "editor.action.deleteLines",
        "when": "editorTextFocus && !editorReadonly"
    },
    // [Debug]
    {
        "key": "F5",
        "command": "workbench.action.debug.start"
    },
    {
        "key": "shift+F5",
        "command": "workbench.action.debug.restart"
    },
    {
        "key": "ctrl+F5",
        "command": "workbench.action.debug.stop"
    },
    {
        "key": "F7",
        "command": "workbench.action.debug.stepInto"
    },
    {
        "key": "shift+F7",
        "command": "workbench.action.debug.stepOut"
    },
    {
        "key": "F8",
        "command": "workbench.action.debug.stepOver"
    },
    {
        "key": "F9",
        "command": "workbench.action.debug.continue"
    },
    // [Navigate]
    {
        "key": "ctrl+[",
        "command": "workbench.action.navigateBack"
    },
    {
        "key": "ctrl+]",
        "command": "workbench.action.navigateForward"
    },
    {
        "key": "ctrl+o",
        "command": "workbench.action.quickOpen"
    },
    {
        "key": "ctrl+r",
        "command": "editor.action.startFindReplaceAction"
    },
    {
        "key": "ctrl+shift+f",
        "command": "workbench.view.search",
        "when": "!searchViewletVisible"
    },
    {
        "key": "ctrl+-",
        "command": "editor.fold"
    },
    {
        "key": "ctrl+shift+-",
        "command": "editor.foldAll"
    },
    {
        "key": "ctrl+=",
        "command": "editor.unfold"
    },
    {
        "key": "ctrl+shift+=",
        "command": "editor.unfoldAll"
    },
    {
        "key": "ctrl+f",
        "command": "actions.find",
        "when": "editorFocus || editorIsOpen"
    },
    {
        "key": "ctrl+i",
        "command": "-editor.action.triggerSuggest",
        "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
    },
    {
        "key": "ctrl+i",
        "command": "-focusSuggestion",
        "when": "suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
    },
    {
        "key": "ctrl+i",
        "command": "-toggleSuggestionDetails",
        "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "ctrl+i",
        "command": "editor.action.revealDefinition",
        "when": "editorHasDefinitionProvider && editorTextFocus && isWeb && !isInEmbeddedEditor"
    },
    {
        "key": "ctrl+f12",
        "command": "-editor.action.revealDefinition",
        "when": "editorHasDefinitionProvider && editorTextFocus && isWeb && !isInEmbeddedEditor"
    },
    {
        "key": "ctrl+i",
        "command": "editor.action.goToReferences",
        "when": "editorTextFocus && !isInEmbeddedEditor"
    },
    {
        "key": "ctrl+f12",
        "command": "-editor.action.goToImplementation",
        "when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
    },
    {
        "key": "shift+f2",
        "command": "editor.action.changeAll",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+f2",
        "command": "-editor.action.changeAll",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "shift+f2",
        "command": "editor.action.linkedEditing",
        "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+shift+f2",
        "command": "-editor.action.linkedEditing",
        "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+enter",
        "command": "workbench.action.quickOpen"
    }
]