Adds shortcut keys for diff commands

This commit is contained in:
Eric Amodio
2017-02-10 04:02:07 -05:00
parent 80aa43a84b
commit 8111190d84

View File

@@ -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"
} }
] ]