Last active
January 18, 2023 17:52
-
-
Save elcritch/95395fe8cb3a693685caadaf7873c993 to your computer and use it in GitHub Desktop.
VSCode Keybindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaults | |
[ | |
{ "key": "meta+f", "command": "actions.find", | |
"when": "editorFocus || editorIsOpen" }, | |
{ "key": "meta+s", "command": "workbench.action.files.save" }, | |
{ "key": "meta+g", "command": "editor.action.nextMatchFindAction", | |
"when": "editorFocus" }, | |
{ "key": "meta+a", "command": "editor.action.selectAll" }, | |
{ "key": "meta+c", "command": "editor.action.clipboardCopyAction" }, | |
{ "key": "meta+x", "command": "editor.action.clipboardCutAction" }, | |
{ "key": "meta+shift+e", "command": "workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" }, | |
{ "key": "meta+shift+e", "command": "workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" }, | |
{ "key": "meta+shift+f", "command": "workbench.action.terminal.searchWorkspace", | |
"when": "terminalFocus && terminalProcessSupported && terminalProcessSupported && terminalTextSelected" }, | |
{ "key": "meta+shift+f", "command": "workbench.action.findInFiles" }, | |
{ "key": "meta+shift+f", "command": "workbench.view.search", | |
"when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, | |
{ "key": "meta+v", "command": "editor.action.clipboardPasteAction" }, | |
{ "key": "meta+v", "command": "extension.vim_ctrl+v", | |
"when": "editorTextFocus && vim.active && vim.use<C-v> && !inDebugRepl" }, | |
{ "key": "meta+v", "command": "markdown.extension.editing.paste", | |
"when": "editorHasSelection && editorTextFocus && editorLangId == 'markdown'" }, | |
{ | |
"key": "meta+shift+w", | |
"command": "workbench.action.closeEditorsAndGroup" | |
}, | |
{ | |
"key": "meta+t", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "workbench.action.tasks.runTask" | |
}, | |
{ | |
"key": "ctrl+alt+t", | |
"command": "-workbench.action.tasks.runTask" | |
}, | |
{ | |
"key": "f5", | |
"command": "workbench.action.tasks.build" | |
}, | |
{ | |
"key": "ctrl+shift+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "meta+j", | |
"command": "workbench.action.togglePanel" | |
}, | |
// - workbench.action.closeEditorsAndGroup | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.terminal.splitInstance", | |
"when": "terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "workbench.action.terminal.focus", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+\\", | |
"command": "workbench.action.terminal.openDetectedLink" | |
}, | |
{ | |
"key": "shift+cmd+up", | |
"command": "workbench.action.terminal.scrollUp", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" | |
}, | |
{ | |
"key": "alt+cmd+pageup", | |
"command": "-workbench.action.terminal.scrollUp", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" | |
}, | |
{ | |
"key": "shift+cmd+down", | |
"command": "workbench.action.terminal.scrollDown", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" | |
}, | |
{ | |
"key": "alt+cmd+pagedown", | |
"command": "-workbench.action.terminal.scrollDown", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "nim.run.file", | |
"when": "editorLangId == 'nim'" | |
}, | |
{ | |
"key": "f6", | |
"command": "-nim.run.file", | |
"when": "editorLangId == 'nim'" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "python.execInTerminal", | |
"when": "editorLangId == 'python'" | |
}, | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Retro Assembler Blue", | |
"explorer.confirmDelete": false, | |
"editor.tabSize": 2, | |
"editor.minimap.enabled": false, | |
"terminal.integrated.persistentSessionScrollback": 1000, | |
"terminal.integrated.scrollback": 10000, | |
"tabnine.experimentalAutoImports": true, | |
"cmake.configureOnOpen": false, | |
"editor.fontFamily": "Victor Mono, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 13, | |
"workbench.activityBar.visible": false, | |
"editor.renderWhitespace": "none", // removes indent guides | |
"editor.renderLineHighlight": "none", // removes line highlight | |
"editor.overviewRulerBorder": false, // removes border from overview ruler (located on the right, same position as the scrollbar) | |
"editor.hideCursorInOverviewRuler": true, // hides cursor mark in the overview ruler | |
"editor.folding": false, // removes the folding feature | |
"editor.occurrencesHighlight": false, // removes highlights occurrences (still works when you select a word) | |
"editor.matchBrackets": false, // removes the highlight of matching brackets (I use Subtle Match Brackets extension for this) | |
"editor.glyphMargin": false, // removes the space used mainly for debugging indicators | |
"explorer.openEditors.visible": 0, // removes the open editors section at the top of the sidebar, you can see the opened files with ⌘ + ⌥ + Tab | |
"workbench.editor.showIcons": false, // removes icon from opened files in tabs | |
"workbench.editor.tabCloseButton": "off", // removes cross icon from tabs | |
"workbench.statusBar.visible": false, // removes the status bar | |
"indenticator.color.dark": "rgba(255,255,255,.1)", // adds a subtle indent guide (needs Indenticator extension) | |
"workbench.colorCustomizations": { // object that allows you to customize your color theme: https://code.visualstudio.com/docs/getstarted/theme-color-reference | |
"tab.activeBorder": "#0000" // removes border to highlight active tabs (the colors formats are: #RGB, #RGBA, #RRGGBB or #RRGGBBAA) | |
}, | |
"editor.guides.indentation": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment