Browse Source

Fixes disable issue with shortcut keys

main
Eric Amodio 7 years ago
parent
commit
120f5ae6fc
1 changed files with 11 additions and 9 deletions
  1. +11
    -9
      package.json

+ 11
- 9
package.json 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"
} }
] ]
}, },

Loading…
Cancel
Save