-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeybindings.json
56 lines (52 loc) · 3.69 KB
/
keybindings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// spell-checker: disable
[
{ "key": "ctrl+alt+q", "command": "workbench.action.reloadWindow" },
{ "key": "ctrl+alt+w", "command": "workbench.action.toggleEditorWidths" },
{ "key": "ctrl+alt+a", "command": "workbench.action.focusActiveEditorGroup", "when": "!editorTextFocus || focusedView == 'workbench.panel.output'" },
{ "key": "ctrl+alt+x", "command": "workbench.action.toggleMaximizeEditorGroup", "when": "editorPartMaximizedEditorGroup || editorPartMultipleEditorGroups" },
{ "key": "ctrl+alt+x", "command": "workbench.action.toggleMaximizedPanel", "when": "panelFocus" },
{ "key": "ctrl+alt+j", "command": "workbench.action.joinAllGroups" },
{ "key": "ctrl+alt+e", "command": "workbench.action.evenEditorWidths" },
{ "key": "ctrl+alt+,", "command": "workbench.action.openSettingsJson" },
{ "key": "ctrl+alt+.", "command": "workbench.action.openGlobalKeybindingsFile" },
{ "key": "ctrl+alt+/", "command": "workbench.action.openSnippets" },
{ "key": "ctrl+alt+-", "command": "editor.action.fontZoomOut" },
{ "key": "ctrl+alt+=", "command": "editor.action.fontZoomReset" },
{ "key": "ctrl+alt+shift+=", "command": "editor.action.fontZoomIn" },
{ "key": "ctrl+=", "command": "workbench.action.zoomReset" },
{ "key": "ctrl+shift+=", "command": "workbench.action.zoomIn" },
{ "key": "ctrl+shift+9", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly" },
{ "key": "ctrl+shift+0", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly" },
// git
{ "key": "ctrl+g ctrl+g", "command": "workbench.action.gotoLine" },
{ "key": "ctrl+g q", "command": "git.unstage" }, // Quit from stage
{ "key": "ctrl+g w", "command": "git.stage" }, // Write into stage
{ "key": "ctrl+g f", "command": "git.fetch" },
{ "key": "ctrl+g p", "command": "git.push" },
{ "key": "ctrl+g b", "command": "git.checkout" }, // Branch
{ "key": "ctrl+g a", "command": "git.commitAmend" },
{ "key": "ctrl+g r", "command": "git.revertSelectedRanges" },
{ "key": "ctrl+g s", "command": "git.sync" },
{ "key": "ctrl+g t", "command": "git.createTag" },
{ "key": "ctrl+g g", "command": "git.merge" },
{ "key": "ctrl+g z", "command": "git.undoCommit" },
{ "key": "ctrl+g x", "command": "git.deleteBranch" },
{ "key": "ctrl+g c", "command": "git.clone" },
{ "key": "ctrl+g d", "command": "git.pull" }, // Downside p
{ "key": "ctrl+g v", "command": "git.openChange" }, // View changes
{ "key": "ctrl+g space", "command": "git.commit" },
// fix
{ "key": "ctrl+shift+.", "command": "-breadcrumbs.focusAndSelect", "when": "breadcrumbsPossible && breadcrumbsVisible" },
// vim fix
{ "key": "ctrl+down", "command": "-extension.vim_ctrl+down", "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'" },
{ "key": "ctrl+up", "command": "-extension.vim_ctrl+up", "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'" },
{ "key": "shift+alt+down", "command": "-extension.vim_cmd+alt+down", "when": "editorTextFocus && vim.active && !inDebugRepl" },
{ "key": "shift+alt+up", "command": "-extension.vim_cmd+alt+up", "when": "editorTextFocus && vim.active && !inDebugRepl" },
{ "key": "shift+;", "command": "vim.showQuickpickCmdLine", "when": "inZenMode && vim.mode != 'Insert'" },
{ "key": "escape", "command": "-extension.vim_escape", "when": "editorTextFocus && vim.active && !inDebugRepl" },
{
"key": "escape",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl && !inlineSuggestionVisible && !suggestWidgetVisible && !notificationToastsVisible && !codeActionMenuVisible && !pasteWidgetVisible && !dropWidgetVisible && !parameterHintsVisible && !breakpointWidgetVisible"
}
]