Skip to content

Instantly share code, notes, and snippets.

@braver
Created February 7, 2017 22:01
Show Gist options
  • Select an option

  • Save braver/5de5577a6c202f4b4f8c1567300da308 to your computer and use it in GitHub Desktop.

Select an option

Save braver/5de5577a6c202f4b4f8c1567300da308 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "escape", "command": "workbench.action.closePanel"},
{ "key": "escape", "command": "workbench.action.terminal.toggleTerminal", "when": "terminalFocus" },
{ "key": "escape", "command": "closeFindWidget", "when": "findInputFocussed && findWidgetVisible" },
{ "key": "escape", "command": "workbench.action.closeMessages", "when": "globalMessageVisible" },
{ "key": "escape", "command": "closeMarkersNavigation", "when": "editorFocus && markersNavigationVisible" },
{ "key": "escape", "command": "removeSecondaryCursors", "when": "editorHasMultipleSelections && editorTextFocus" },
{ "key": "f4", "command": "editor.action.marker.next", "when": "editorFocus && !editorReadonly" },
{ "key": "end", "command": "editor.action.marker.next", "when": "editorFocus && !editorReadonly" },
{ "key": "shift+f4", "command": "editor.action.marker.prev", "when": "editorFocus && !editorReadonly" },
{ "key": "cmd+alt+b", "command": "workbench.action.toggleSidebarVisibility" },
{ "key": "cmd+b", "command": "workbench.action.tasks.build" },
{ "key": "cmd+shift+b", "command": "workbench.action.tasks.runTask" },
{ "key": "cmd+v", "command": "pasteAndIndent.action", "when": "editorTextFocus && !editorReadonly" },
{ "key": "cmd+v", "command": "editor.action.clipboardPasteAction", "when": "!editorTextFocus" },
{ "key": "cmd+shift+v", "command": "editor.action.clipboardPasteAction", "when": "editorTextFocus && !editorReadonly" },
{ "key": "cmd+alt+g", "command": "extension.opengitup" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment