Created
March 13, 2020 19:18
-
-
Save juliofarah/dbf6d2bd19951096e0af6a093c3e1800 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.switchWindow" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+t", | |
"command": "go.test.file" | |
}, | |
{ | |
"key": "shift+alt+b", | |
"command": "-gitlens.toggleCodeLens", | |
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+cmd+g shift+b", | |
"command": "-gitlens.toggleCodeLens", | |
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-gitlens.views.compare.copy", | |
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.compare/" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-gitlens.views.fileHistory.copy", | |
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.fileHistory/" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-gitlens.views.lineHistory.copy", | |
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.lineHistory/" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-gitlens.views.repositories.copy", | |
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.repositories/" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-gitlens.views.repositories.copy", | |
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.repositories/" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-gitlens.views.search.copy", | |
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.search/" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g .", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g .", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g .", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "-gitlens.diffWithNext", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "-gitlens.diffWithNextInDiffLeft", | |
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g .", | |
"command": "-gitlens.diffWithNextInDiffLeft", | |
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g .", | |
"command": "-gitlens.diffWithNextInDiffLeft", | |
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g ,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g ,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g ,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "-gitlens.diffWithPreviousInDiffRight", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g ,", | |
"command": "-gitlens.diffWithPreviousInDiffRight", | |
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g shift+.", | |
"command": "-gitlens.diffWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "shift+alt+.", | |
"command": "-gitlens.diffWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "shift+alt+,", | |
"command": "-gitlens.diffLineWithPrevious", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g shift+,", | |
"command": "-gitlens.diffLineWithPrevious", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+w", | |
"command": "-gitlens.diffLineWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g w", | |
"command": "-gitlens.diffLineWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g /", | |
"command": "-gitlens.showCommitSearch", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+/", | |
"command": "-gitlens.showCommitSearch", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+c", | |
"command": "-gitlens.showQuickCommitFileDetails", | |
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+c", | |
"command": "-gitlens.showQuickCommitFileDetails", | |
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+cmd+g c", | |
"command": "-gitlens.showQuickCommitFileDetails", | |
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g c", | |
"command": "-gitlens.showQuickCommitFileDetails", | |
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "-gitlens.showQuickRepoHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+cmd+g shift+h", | |
"command": "-gitlens.showQuickRepoHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+h", | |
"command": "-gitlens.showQuickFileHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+cmd+g h", | |
"command": "-gitlens.showQuickFileHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g -", | |
"command": "-gitlens.showLastQuickPick", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+-", | |
"command": "-gitlens.showLastQuickPick", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+cmd+g s", | |
"command": "-gitlens.showQuickRepoStatus", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+s", | |
"command": "-gitlens.showQuickRepoStatus", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+b", | |
"command": "-gitlens.toggleFileBlame", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /blameable/" | |
}, | |
{ | |
"key": "alt+cmd+g b", | |
"command": "-gitlens.toggleFileBlame", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /blameable/" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment