mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Merge pull request #93706 from ChrisPapp/git_keybindings
Add default keybindings for stage/revert/unstage selected ranges
This commit is contained in:
@@ -411,6 +411,26 @@
|
||||
"category": "Git"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"command": "git.stageSelectedRanges",
|
||||
"key": "ctrl+k ctrl+alt+s",
|
||||
"mac": "cmd+k cmd+alt+s",
|
||||
"when": "isInDiffEditor"
|
||||
},
|
||||
{
|
||||
"command": "git.unstageSelectedRanges",
|
||||
"key": "ctrl+k ctrl+u",
|
||||
"mac": "cmd+k cmd+u",
|
||||
"when": "isInDiffEditor"
|
||||
},
|
||||
{
|
||||
"command": "git.revertSelectedRanges",
|
||||
"key": "ctrl+k ctrl+r",
|
||||
"mac": "cmd+k cmd+r",
|
||||
"when": "isInDiffEditor"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
"commandPalette": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user