Skip to content

Instantly share code, notes, and snippets.

@henrycatalinismith
Last active January 30, 2024 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henrycatalinismith/1358f66b029d8a0a358c159b1ce1c146 to your computer and use it in GitHub Desktop.
Save henrycatalinismith/1358f66b029d8a0a358c159b1ce1c146 to your computer and use it in GitHub Desktop.
vscode config
[
{
"key": "cmd+up",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "cmd+right",
"command": "workbench.action.terminal.toggleTerminal",
"when": "!terminalFocus"
},
{
"key": "cmd+down",
"command": "workbench.action.terminal.toggleTerminal",
"when": "!terminalFocus"
},
{
"key": "cmd+left",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.newInActiveWorkspace",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.createTerminalEditor",
"when": "terminalEditorFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.killEditor",
"when": "terminalEditorFocus"
},
{
"key": "cmd+n",
"command": "workbench.action.createTerminalEditor",
"when": "terminalEditorFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+tab",
"when": "terminalFocus",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+tab",
"when": "terminalFocus",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "ctrl+tab",
"when": "terminalEditorFocus",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"when": "terminalEditorFocus",
"command": "workbench.action.previousEditor"
},
{
"key": "cmd+shift+left",
"when": "terminalFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.togglePanel",
"workbench.action.terminal.moveToEditor",
"workbench.action.focusActiveEditorGroup"
]
}
},
{
"key": "cmd+shift+right",
"when": "terminalFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.positionPanelRight",
"workbench.action.terminal.focus"
]
}
},
{
"key": "cmd+shift+down",
"when": "terminalFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.positionPanelBottom",
"workbench.action.terminal.focus"
]
}
},
{
"key": "cmd+shift+up",
"when": "terminalFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.togglePanel",
"workbench.action.terminal.moveToEditor",
"workbench.action.focusActiveEditorGroup"
]
}
},
{
"key": "cmd+shift+right",
"when": "terminalEditorFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.terminal.moveToTerminalPanel",
"workbench.action.positionPanelRight"
]
}
},
{
"key": "cmd+shift+down",
"when": "terminalEditorFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.terminal.moveToTerminalPanel",
"workbench.action.positionPanelBottom"
]
}
},
{
"key": "cmd+shift+right",
"when": "!terminalFocus && !terminalEditorFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.positionPanelRight",
"workbench.action.focusActiveEditorGroup"
]
}
},
{
"key": "cmd+shift+down",
"when": "!terminalFocus && !terminalEditorFocus",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.positionPanelBottom",
"workbench.action.focusActiveEditorGroup"
]
}
}
]
{
"[ruby]": {
"editor.defaultFormatter": "ruby-syntax-tree.vscode-syntax-tree",
"editor.formatOnSave": true
},
"codesnap.showLineNumbers": false,
"diffEditor.renderSideBySide": false,
"breadcrumbs.enabled": false,
"editor.autoClosingBrackets": "never",
"editor.autoClosingDelete": "never",
"editor.autoClosingOvertype": "never",
"editor.autoClosingQuotes": "never",
"editor.cursorSmoothCaretAnimation": "on",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontFamily": "Iosevka",
"editor.fontSize": 18,
"editor.guides.indentation": false,
"editor.insertSpaces": true,
"editor.minimap.enabled": false,
"editor.selectionHighlight": false,
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"gitlens.codeLens.enabled": false,
"gitlens.graph.layout": "editor",
"gitlens.plusFeatures.enabled": false,
"gitlens.statusBar.enabled": false,
"html.autoClosingTags": false,
"javascript.autoClosingTags": false,
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.fontFamily": "Iosevka",
"terminal.integrated.fontSize": 18,
"terminal.integrated.minimumContrastRatio": 4.5,
"terminal.integrated.tabs.hideCondition": "never",
"typescript.autoClosingTags": false,
"typescript.suggest.paths": true,
"typescript.tsserver.log": "off",
"vim.joinspaces": false,
"vim.leader": "space",
"workbench.activityBar.location": "top",
"workbench.colorCustomizations": {
"gitlens.trailingLineForegroundColor": "#93a1a1",
"terminal.ansiBrightBlack": "#002b36",
"terminal.ansiBrightBlue": "#268bd2",
"terminal.ansiBrightCyan": "#2aa198",
"terminal.ansiBrightGreen": "#9bb300",
"terminal.ansiBrightMagenta": "#d33682",
"terminal.ansiBrightRed": "#dc322f",
"terminal.ansiBrightWhite": "#fdf6e3",
"terminal.ansiBrightYellow": "#b58900"
},
"workbench.colorTheme": "Solarized Dark",
"workbench.startupEditor": "none",
"workbench.tips.enabled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment