feat(vscodium): add new keybindings for git and debug operations

This commit is contained in:
Sergio Laín 2024-02-06 13:36:01 +01:00
parent d8205db5df
commit e875db469e
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -54,7 +54,6 @@
"workbench.editor.tabActionCloseVisibility": false, "workbench.editor.tabActionCloseVisibility": false,
"markdown-preview-github-styles.lightTheme": "dark", "markdown-preview-github-styles.lightTheme": "dark",
"markdown-preview-github-styles.colorTheme": "dark", "markdown-preview-github-styles.colorTheme": "dark",
"editor.matchBrackets": "never",
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"editor.foldingImportsByDefault": true, "editor.foldingImportsByDefault": true,
"editor.guides.bracketPairs": true, "editor.guides.bracketPairs": true,
@ -543,6 +542,12 @@
"type": "command", "type": "command",
"command": "workbench.action.showCommands" "command": "workbench.action.showCommands"
}, },
{
"key": "q",
"name": "Exit",
"type": "command",
"command": "workbench.action.closeWindow"
},
{ {
"key": "-", "key": "-",
"name": "Split window below", "name": "Split window below",
@ -728,6 +733,103 @@
} }
] ]
}, },
{
"key": "d",
"name": " Debug",
"type": "bindings",
"bindings": [
{
"key": "d",
"name": "Start",
"type": "command",
"command": "workbench.action.debug.start"
},
{
"key": "D",
"name": "Run without debugging",
"type": "command",
"command": "workbench.action.debug.run"
},
{
"key": "t",
"name": "Terminate",
"type": "command",
"command": "workbench.action.debug.stop"
},
{
"key": "c",
"name": "Continue",
"type": "command",
"command": "workbench.action.debug.continue"
},
{
"key": "p",
"name": "Pause",
"type": "command",
"command": "workbench.action.debug.pause"
},
{
"key": "R",
"name": "Restart",
"type": "command",
"command": "workbench.action.debug.restart"
},
{
"key": "i",
"name": "Step into",
"type": "command",
"command": "workbench.action.debug.stepInto"
},
{
"key": "O",
"name": "Step over",
"type": "command",
"command": "workbench.action.debug.stepOver"
},
{
"key": "o",
"name": "Step out",
"type": "command",
"command": "workbench.action.debug.stepOut"
},
{
"key": "b",
"name": "Toggle breakpoint",
"type": "command",
"command": "editor.debug.action.toggleBreakpoint"
},
{
"key": "B",
"name": "Toggle inline breakpoint",
"type": "command",
"command": "editor.debug.action.toggleInlineBreakpoint"
},
{
"key": "j",
"name": "Jump to cursor",
"type": "command",
"command": "debug.jumpToCursor"
},
{
"key": "r",
"name": "Toggle REPL",
"type": "command",
"command": "workbench.debug.action.toggleRepl"
},
{
"key": "w",
"name": "Focus on watch window",
"type": "command",
"command": "workbench.debug.action.focusWatchView"
},
{
"key": "W",
"name": "Add to watch",
"type": "command",
"command": "editor.debug.action.selectionToWatch"
}
]
},
{ {
"key": "f", "key": "f",
"name": "󰈔 File/Find", "name": "󰈔 File/Find",
@ -828,6 +930,73 @@
} }
] ]
}, },
{
"key": "g",
"name": " Git",
"type": "bindings",
"bindings": [
{
"key": "b",
"name": "Checkout",
"type": "command",
"command": "git.checkout"
},
{
"key": "c",
"name": "Commit",
"type": "command",
"command": "git.commit"
},
{
"key": "d",
"name": "Delete Branch",
"type": "command",
"command": "git.deleteBranch"
},
{
"key": "f",
"name": "Fetch",
"type": "command",
"command": "git.fetch"
},
{
"key": "i",
"name": "Init",
"type": "command",
"command": "git.init"
},
{
"key": "m",
"name": "Merge",
"type": "command",
"command": "git.merge"
},
{
"key": "p",
"name": "Publish",
"type": "command",
"command": "git.publish"
},
{
"key": "s",
"name": "Status",
"type": "command",
"command": "workbench.view.scm"
},
{
"key": "S",
"name": "Stage",
"type": "command",
"command": "git.stage"
},
{
"key": "U",
"name": "Unstage",
"type": "command",
"command": "git.unstage"
}
]
},
{ {
"key": "s", "key": "s",
"name": " Search", "name": " Search",
@ -946,5 +1115,6 @@
] ]
} }
], ],
"workbench.statusBar.visible": false "workbench.statusBar.visible": false,
"editor.matchBrackets": "never"
} }