Skip to content

Instantly share code, notes, and snippets.

@Hecatoncheir
Created March 22, 2020 10:52
Show Gist options
  • Save Hecatoncheir/d63ccc10309c4e033df56da02423ff1f to your computer and use it in GitHub Desktop.
Save Hecatoncheir/d63ccc10309c4e033df56da02423ff1f to your computer and use it in GitHub Desktop.
vscode
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+[",
"command": "workbench.action.previousEditorInGroup"
},
{
"key": "alt+]",
"command": "workbench.action.nextEditorInGroup"
},
// Toggles
{
"key": "alt+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "alt+1",
"command": "workbench.action.toggleMenuBar"
},
{
"key": "alt+2",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "alt+3",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "alt+4",
"command": "workbench.action.toggleStatusbarVisibility"
},
{
"key": "alt+5",
"command": "breadcrumbs.toggle"
},
{
"key": "alt+6",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "alt+7",
"command": "editor.action.toggleMinimap"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
// Like vim
{
"key": "ctrl+k",
"command": "list.focusUp"
},
{
"key": "ctrl+j",
"command": "list.focusDown",
},
{
"key": "ctrl+j",
"command": "workbench.action.quickOpenSelectNext"
},
{
"key": "ctrl+k",
"command": "workbench.action.quickOpenSelectPrevious"
},
{
"key": "ctrl+k",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+j",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+j",
"command": "search.focus.nextInputBox",
"when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
},
{
"key": "ctrl+k",
"command": "search.focus.previousInputBox",
"when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
]
{
"window.menuBarVisibility": "toggle",
/// Workbench
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": false,
"workbench.colorTheme": "Espresso Light UI",
"breadcrumbs.enabled": false,
"go.formatTool": "goimports",
"go.useLanguageServer": true,
// EDITOR
"editor.minimap.enabled": false,
"editor.highlightActiveIndentGuide": false,
"editor.renderIndentGuides": false,
// cSpell
"cSpell.language": "en,ru,en-US,en-GB",
// BRACKETPAIR
"bracketPairColorizer.activeScopeCSS": [
"borderStyle : dashed",
"borderWidth : 1px",
"borderColor : {color}; opacity: 0.3",
"backgroundColor : {color}; opacity: 0.1"
],
"bracketPairColorizer.scopeLineCSS": [
"borderStyle : dashed",
"borderWidth : 1px",
"borderColor : {color}; opacity: 1",
"backgroundColor : {color}; opacity: 0.1"
],
"bracketPairColorizer.consecutivePairColors": [
"()",
"[]",
"{}",
[
"<",
"/>"
],
[
"<",
"</"
],
[
"#2A9D8F",
"#F4A261",
"#b6d334",
"#2AB7CA",
"#dbe13c",
"#DA4167",
"#E9C46A",
"#E76F51"
],
"#DA4167"
],
"bracketPairColorizer.showBracketsInGutter": true,
"bracketPairColorizer.showBracketsInRuler": true,
"bracketPairColorizer.independentPairColors": [
[
"{}",
[
"#192539",
"#47754A",
"#6D911F",
"#A7C433",
"#b6d334",
"#dbe13c"
]
],
[
"()",
[
"#3D2645",
"#832161",
"#CA054D",
"#DA4167",
"#E8587C"
]
],
[
"[]",
[
"#6D6875",
"#B5838D",
"#E5989B",
"#FFB4A2",
"#FFCDB2",
]
]
],
"bracketPairColorizer.highlightActiveScope": true,
"bracketPairColorizer.timeOut": 150,
// VIM
"vim.searchHighlightColor": "rgba(255, 225, 175, 0.5)",
"vim.useSystemClipboard": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment