Skip to content

Instantly share code, notes, and snippets.

@Maikon
Last active April 4, 2019 14:50
Show Gist options
  • Save Maikon/0b944825f3079cc91fc5c1dc36ee1135 to your computer and use it in GitHub Desktop.
Save Maikon/0b944825f3079cc91fc5c1dc36ee1135 to your computer and use it in GitHub Desktop.
VS Code custom keybindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+cmd+r",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "alt+cmd+f",
"command": "-editor.action.startFindReplaceAction"
},
{
"key": "alt+cmd+t",
"command": "workbench.action.tasks.runTask",
"args": "Run Focused Test"
},
{
"key": "alt+cmd+b",
"command": "workbench.action.tasks.runTask",
"args": "Test Current File"
},
{
"key": "alt+cmd+a",
"command": "workbench.action.tasks.runTask",
"args": "Run All Tests"
},
{
"key": "ctrl+[",
"command": "workbench.action.terminal.scrollUp",
},
{
"key": "ctrl+]",
"command": "workbench.action.terminal.scrollDown",
},
{
"key": "cmd+ctrl+g",
"command": "editor.action.goToDeclaration"
},
{
"key": "cmd+ctrl+n",
"command": "fileutils.newFile"
},
{
"key": "cmd+ctrl+o",
"command": "extension.file-picker.openFileRelativeToOpenedFile"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment