~/Library/KeyBindings/DefaultKeyBinding.dict
~/Library/Application\ Support/Code/User/keybindings.json
~/Library/Application\ Support/Code/User/settings.json
{ | |
"^@\UF701" = "noop"; | |
"^@\UF702" = "noop"; | |
"^@\UF703" = "noop"; | |
} |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
// Xcode's rename all in scope command | |
{ | |
"key": "ctrl+cmd+e", | |
"command": "editor.action.changeAll" | |
}, | |
// Xcode style forward and back | |
{ "key": "ctrl+-", "command": "-workbench.action.navigateBack" }, | |
{ "key": "ctrl+shift+-", "command": "-workbench.action.navigateForward" }, | |
{ "key": "ctrl+cmd+left", "command": "workbench.action.navigateBack" }, | |
{ "key": "ctrl+cmd+right", "command": "workbench.action.navigateForward" }, | |
{ "key": "ctrl+i", "command": "editor.action.formatSelection" }, | |
/* | |
To fix the beeps for "ctrl+cmd+left" and "ctrl+cmd+right" add this file: | |
~/Library/KeyBindings/DefaultKeyBinding.dict | |
{ | |
"^@\UF701" = "noop:"; | |
"^@\UF702" = "noop:"; | |
"^@\UF703" = "noop:"; | |
} | |
*/ | |
// Swap save and save all so we are triggering a live reload correctly when chaning more than one file | |
{ "key": "cmd+s", "command": "workbench.action.files.saveAll" }, | |
{ "key": "alt+cmd+s", "command": "workbench.action.files.save" }, | |
// Focus | |
{ "key": "cmd+y", "command": "editor.action.goToDeclaration", | |
"when": "editorTextFocus" }, | |
// Run | |
{ "key": "cmd+r", "command": "workbench.action.debug.start", | |
"when": "!inDebugMode" }, | |
// Build | |
{ | |
"key": "cmd+b", "command": "nextcode.buildApp", | |
"when": "nextcode.state == 'ready'" | |
}, | |
// Xcode style quick open | |
{ "key": "cmd+p", "command": "-workbench.action.quickOpen" }, | |
{ "key": "cmd+shift+o", "command": "workbench.action.quickOpen" }, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-notebook.cell.focusOutOutput", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-workbench.action.terminal.resizePaneUp", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "togglehs.toggleHS" | |
}, | |
{ | |
"key": "f4", | |
"command": "-togglehs.toggleHS" | |
}, | |
{ | |
"key": "cmd+u", | |
"command": "nextcode.debugAllTests", | |
"when": "nextcode.state == 'ready'" | |
}, | |
{ | |
"key": "cmd+shift+k", | |
"command": "nextcode.blazeClean", | |
"when": "nextcode.state == 'ready'" | |
}, | |
{ | |
"key": "alt+cmd+r", | |
"command": "nextcode.runAppWithoutDebugging", | |
"when": "nextcode.state == 'ready'" | |
}, | |
{ | |
"key": "ctrl+cmd+r", | |
"command": "nextcode.runAppWithoutBuilding", | |
"when": "nextcode.state == 'ready'" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "workbench.files.action.showActiveFileInExplorer", | |
"when": "nextcode.state == 'ready'" | |
}, | |
{ | |
"key": "cmd+shift+j", | |
"command": "workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
} | |
] |
{ | |
"telemetry.enableCrashReporter": false, | |
"telemetry.enableTelemetry": false, | |
"editor.minimap.enabled": false, | |
"editor.autoClosingBrackets": "never", | |
"window.zoomLevel": 0, | |
"workbench.editor.showTabs": true, | |
"editor.tabSize": 2, | |
"editor.detectIndentation": false, | |
"editor.scrollBeyondLastLine": true, | |
"editor.tabCompletion": false, | |
"editor.wordWrap": "off", | |
"editor.formatOnPaste": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.guides.indentation": false, | |
"editor.guides.bracketPairs": true, | |
"editor.rulers": [100], | |
"workbench.colorTheme": "Solarized Dark", | |
"workbench.colorCustomizations": { | |
"editorRuler.foreground": "#ff4081" | |
}, | |
// Auto complete | |
"editor.autoClosingQuotes": "never", | |
"editor.autoSurround": "never", // When the word is selected | |
// Status Bar Debugger | |
"debug.toolBarLocation": "hidden", | |
"debug.showInStatusBar": "never", | |
"statusbarDebugger.template": "$(bug) [name]", // Template used for rendering the statusbar item, by default a "bug" icon and the name of the current debug session | |
"statusbarDebugger.command": "auto", // Command to execute when clicking the "bug" icon. Possible values are: - "start": always start the active configuration - "select": always ask to select the configuration - "auto": execute `debugLauncher.auto` (provided by the Debug Launcher extension) or start debugging if it detects only one configuration or ask for a selection if there are more than one. If a debug session is active the command will always be to stop debugging | |
"statusbarDebugger.actions": [ | |
"pause", | |
"continue", | |
"step_over", | |
"step_into", | |
"step_out", | |
"restart", | |
"stop" | |
], // List of enabled actions' buttons | |
"statusbarDebugger.actionsIcons": [ | |
"❙❙", | |
"$(triangle-right)", | |
"$(arrow-right)", | |
"$(arrow-down)", | |
"$(arrow-up)", | |
"$(mail-reply)", | |
"$(primitive-square)" | |
], // Icons for the actions' buttons | |
"statusbarDebugger.activeColor": "", // The color of the statusbar item when debugging | |
"statusbarDebugger.alignment": "left", // Should the item be placed to the left or right? | |
"statusbarDebugger.priority": -10, // The priority of this item. Higher value means the item should be shown more to the left | |
"cSpell.enabledLanguageIds": [ | |
"asciidoc", | |
"c", | |
"cpp", | |
"csharp", | |
"css", | |
"git-commit", | |
"go", | |
"graphql", | |
"handlebars", | |
"haskell", | |
"html", | |
"jade", | |
"java", | |
"javascript", | |
"javascriptreact", | |
"json", | |
"jsonc", | |
"latex", | |
"less", | |
"markdown", | |
"php", | |
"plaintext", | |
"python", | |
"pug", | |
"restructuredtext", | |
"rust", | |
"scala", | |
"scss", | |
"text", | |
"typescript", | |
"typescriptreact", | |
"yaml", | |
"yml", | |
"objective-c", | |
"swift" | |
]// The priority of this item. Higher value means the item should be shown more to the left | |
} |