Skip to content

Instantly share code, notes, and snippets.

@keremtiryaki
Last active October 22, 2016 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keremtiryaki/1b8c52f78672efa1126ddb95ebf99711 to your computer and use it in GitHub Desktop.
Save keremtiryaki/1b8c52f78672efa1126ddb95ebf99711 to your computer and use it in GitHub Desktop.
vscode eclipse like keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+h", "command": "workbench.view.search" },
{ "key": "cmd+alt+up", "command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "cmd+alt+down", "command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "cmd+k", "command": "editor.action.nextSelectionMatchFindAction",
"when": "editorFocus" },
{ "key": "shift+cmd+k", "command": "editor.action.previousSelectionMatchFindAction",
"when": "editorFocus" },
{ "key": "cmd+b", "command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus" },
{ "key": "cmd+d", "command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "cmd+shift+f", "command": "editor.action.format",
"when": "editorHasFormattingProvider && editorTextFocus && !editorReadonly" },
{ "key": "cmd+ctrl+alt+g", "command": "editor.fold",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+f", "command": "editor.foldAll",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+1", "command": "editor.foldLevel1",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+2", "command": "editor.foldLevel2",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+3", "command": "editor.foldLevel3",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+4", "command": "editor.foldLevel4",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+5", "command": "editor.foldLevel5",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+8", "command": "editor.foldRecursively",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+7", "command": "editor.unFoldRecursively",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+9", "command": "editor.unfold",
"when": "editorTextFocus" },
{ "key": "cmd+ctrl+alt+0", "command": "editor.unfoldAll",
"when": "editorTextFocus" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment