Fixes disable issue with shortcut keys

This commit is contained in:
Eric Amodio
2017-02-17 22:21:07 -05:00
parent 360c38e536
commit 120f5ae6fc

View File

@@ -557,53 +557,55 @@
"command": "gitlens.toggleBlame", "command": "gitlens.toggleBlame",
"key": "alt+b", "key": "alt+b",
"mac": "alt+b", "mac": "alt+b",
"when": "editorTextFocus" "when": "editorTextFocus && gitlens:enabled"
}, },
{ {
"command": "gitlens.toggleCodeLens", "command": "gitlens.toggleCodeLens",
"key": "alt+shift+b", "key": "alt+shift+b",
"mac": "alt+shift+b", "mac": "alt+shift+b",
"when": "editorTextFocus" "when": "editorTextFocus && gitlens:enabled"
}, },
{ {
"command": "gitlens.showQuickFileHistory", "command": "gitlens.showQuickFileHistory",
"key": "alt+h", "key": "alt+h",
"mac": "alt+h", "mac": "alt+h",
"when": "editorTextFocus" "when": "gitlens:enabled"
}, },
{ {
"command": "gitlens.showQuickRepoHistory", "command": "gitlens.showQuickRepoHistory",
"key": "shift+alt+h", "key": "shift+alt+h",
"mac": "shift+alt+h" "mac": "shift+alt+h",
"when": "gitlens:enabled"
}, },
{ {
"command": "gitlens.showQuickCommitDetails", "command": "gitlens.showQuickCommitDetails",
"key": "alt+c", "key": "alt+c",
"mac": "alt+c" "mac": "alt+c",
"when": "editorTextFocus && gitlens:enabled"
}, },
{ {
"command": "gitlens.diffLineWithPrevious", "command": "gitlens.diffLineWithPrevious",
"key": "alt+p", "key": "alt+p",
"mac": "alt+p", "mac": "alt+p",
"when": "editorTextFocus" "when": "editorTextFocus && gitlens:enabled"
}, },
{ {
"command": "gitlens.diffWithPrevious", "command": "gitlens.diffWithPrevious",
"key": "shift+alt+p", "key": "shift+alt+p",
"mac": "shift+alt+p", "mac": "shift+alt+p",
"when": "editorTextFocus" "when": "editorTextFocus && gitlens:enabled"
}, },
{ {
"command": "gitlens.diffLineWithWorking", "command": "gitlens.diffLineWithWorking",
"key": "alt+w", "key": "alt+w",
"mac": "alt+w", "mac": "alt+w",
"when": "editorTextFocus" "when": "editorTextFocus && gitlens:enabled"
}, },
{ {
"command": "gitlens.diffWithWorking", "command": "gitlens.diffWithWorking",
"key": "shift+alt+w", "key": "shift+alt+w",
"mac": "shift+alt+w", "mac": "shift+alt+w",
"when": "editorTextFocus" "when": "editorTextFocus && gitlens:enabled"
} }
] ]
}, },