Skip to content

Instantly share code, notes, and snippets.

@ajermakovics
Created May 18, 2017 07:11
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 ajermakovics/060c7a4833b6e56c3b36ddd8316c64c7 to your computer and use it in GitHub Desktop.
Save ajermakovics/060c7a4833b6e56c3b36ddd8316c64c7 to your computer and use it in GitHub Desktop.
Visual Studio Code keyboard shortcuts remapped to IntelliJ IDEA shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+shift+o",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+o",
"command": "workbench.action.showAllSymbols"
},
{
"key": "cmd+alt+l",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+f12",
"command": "workbench.action.gotoSymbol"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
},
{
"key": "cmd+e",
"command": "workbench.action.showAllEditors"
},
{
"key": "ctrl+g",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+r",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "alt+up",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "shift+f6",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment