Stops certain keybindings from being too context sensative

This commit is contained in:
Eric Amodio
2017-04-12 17:03:18 -04:00
parent 25696ffa94
commit 04a6574f16

View File

@@ -766,7 +766,7 @@
"command": "gitlens.toggleBlame", "command": "gitlens.toggleBlame",
"key": "alt+b", "key": "alt+b",
"mac": "alt+b", "mac": "alt+b",
"when": "editorTextFocus && gitlens:isBlameable" "when": "editorTextFocus && gitlens:isTracked"
}, },
{ {
"command": "gitlens.toggleCodeLens", "command": "gitlens.toggleCodeLens",
@@ -820,7 +820,7 @@
"command": "gitlens.diffLineWithPrevious", "command": "gitlens.diffLineWithPrevious",
"key": "shift+alt+,", "key": "shift+alt+,",
"mac": "shift+alt+,", "mac": "shift+alt+,",
"when": "editorTextFocus && gitlens:isBlameable" "when": "editorTextFocus && gitlens:isTracked"
}, },
{ {
"command": "gitlens.diffWithPrevious", "command": "gitlens.diffWithPrevious",
@@ -832,7 +832,7 @@
"command": "gitlens.diffLineWithWorking", "command": "gitlens.diffLineWithWorking",
"key": "alt+w", "key": "alt+w",
"mac": "alt+w", "mac": "alt+w",
"when": "editorTextFocus && gitlens:isBlameable" "when": "editorTextFocus && gitlens:isTracked"
}, },
{ {
"command": "gitlens.diffWithWorking", "command": "gitlens.diffWithWorking",