mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 10:58:34 -05:00
Adds shortcut keys for diff commands
This commit is contained in:
30
package.json
30
package.json
@@ -433,6 +433,12 @@
|
|||||||
"mac": "alt+b",
|
"mac": "alt+b",
|
||||||
"when": "editorTextFocus"
|
"when": "editorTextFocus"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"command": "gitlens.toggleCodeLens",
|
||||||
|
"key": "alt+shift+b",
|
||||||
|
"mac": "alt+shift+b",
|
||||||
|
"when": "editorTextFocus"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "gitlens.showQuickFileHistory",
|
"command": "gitlens.showQuickFileHistory",
|
||||||
"key": "alt+h",
|
"key": "alt+h",
|
||||||
@@ -445,9 +451,27 @@
|
|||||||
"mac": "shift+alt+h"
|
"mac": "shift+alt+h"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "gitlens.toggleCodeLens",
|
"command": "gitlens.diffLineWithPrevious",
|
||||||
"key": "alt+shift+b",
|
"key": "alt+p",
|
||||||
"mac": "alt+shift+b",
|
"mac": "alt+p",
|
||||||
|
"when": "editorTextFocus"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "gitlens.diffWithPrevious",
|
||||||
|
"key": "shift+alt+p",
|
||||||
|
"mac": "shift+alt+p",
|
||||||
|
"when": "editorTextFocus"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "gitlens.diffLineWithWorking",
|
||||||
|
"key": "alt+w",
|
||||||
|
"mac": "alt+w",
|
||||||
|
"when": "editorTextFocus"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "gitlens.diffWithWorking",
|
||||||
|
"key": "shift+alt+w",
|
||||||
|
"mac": "shift+alt+w",
|
||||||
"when": "editorTextFocus"
|
"when": "editorTextFocus"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user