Skip to content

Instantly share code, notes, and snippets.

@aegyed91
Last active February 26, 2016 23:58
Show Gist options
  • Save aegyed91/1ce8478c3092e2e8659e to your computer and use it in GitHub Desktop.
Save aegyed91/1ce8478c3092e2e8659e to your computer and use it in GitHub Desktop.
VS Code config
// Place your settings in this file to overwrite default and user settings.
{
//-------- Search configuration --------
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the file.exclude setting.
"search.exclude": {
"**/dist": true
},
//-------- TSLint configuration --------
// An additional rules directory
"tslint.rulesDirectory": "node_modules/ng2lint/dist/src"
}
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "shift+cmd+[",
"command": "workbench.action.focusLeftEditor"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.navigateForward"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.focusRightEditor"
},
{
"key": "cmd+\\",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "workbench.action.splitEditor"
},
{
"key": "shift+cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
// {
// "key": "shift+cmd+click",
// "command": "editor.action.previewDeclaration",
// "when": "editorTextFocus"
// }
{
"key": "shift+cmd+a",
"command": "editor.action.blockComment",
"when": "editorTextFocus"
}
]
// Place your settings in this file to overwrite the default settings
{
//-------- Editor configuration --------
// Controls the font family.
"editor.fontFamily": "Consolas",
// Controls the font size.
"editor.fontSize": 15
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment