Skip to content

Instantly share code, notes, and snippets.

@vadviktor
Last active July 24, 2021 22:30
Show Gist options
  • Save vadviktor/a16a0280b0b993eb1c48b36a24d7be44 to your computer and use it in GitHub Desktop.
Save vadviktor/a16a0280b0b993eb1c48b36a24d7be44 to your computer and use it in GitHub Desktop.
my visual studio code settings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "f12",
"command": "editor.action.toggleWordWrap"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
{
"key": "shift+alt+s",
"command": "workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "shift+alt+r",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "shift+alt+o",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "f4",
"command": "editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+\\",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+=",
"command": "workbench.action.splitEditor"
},
{
"key": "ctrl+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "shift+alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+v",
"command": "workbench.action.terminal.paste",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+v",
"command": "-workbench.action.terminal.paste",
"when": "terminalFocus"
},
{
"key": "alt+c",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalTextSelected"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalTextSelected"
},
{
"key": "ctrl+r",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "ctrl+h",
"command": "-editor.action.startFindReplaceAction"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.replaceInFiles"
},
{
"key": "ctrl+shift+h",
"command": "-workbench.action.replaceInFiles"
},
{
"key": "ctrl+`",
"command": "-markdown.extension.editing.toggleCodeSpan",
"when": "editorTextFocus && editorLangId == 'markdown'"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
}
]
{
"editor.tokenColorCustomizations": {
"comments": {
"fontStyle": "null"
}
},
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/.idea": true,
"**/.vagrant": true,
"**/.bundle": true,
"**/*.iml": true,
"**/*.pyc": true
},
"editor.accessibilitySupport": "off",
"editor.dragAndDrop": false,
"editor.fontFamily": "'FuraCode Nerd Font', 'Noto Mono', 'Dejavu Sans Mono', 'Consolas', 'monospace'",
"editor.fontLigatures": true,
"editor.fontSize": 14,
"editor.links": false,
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderControlCharacters": true,
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "none",
"editor.rulers": [80],
"editor.scrollBeyondLastLine": false,
"editor.selectionHighlight": true,
"editor.showFoldingControls": "mouseover",
"editor.tabSize": 4,
"editor.wordWrap": "on",
"editor.wrappingIndent": "indent",
"explorer.enableDragAndDrop": false,
"files.autoSave": "off",
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"go.formatTool": "goimports",
"go.gopath": "/mnt/secure/ikon/src/go-workspace",
"php.executablePath": "/usr/bin/php",
"python.envFile": "${workspaceRoot}/.python-version",
"python.formatting.formatOnSave": true,
"python.formatting.provider": "yapf",
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "/home/ikon/.pyenv/shims/flake8",
"python.linting.pylintEnabled": false,
"python.pythonPath": "/home/ikon/.pyenv/shims/python",
"python.terminal.executeInFileDir": true,
"python.venvPath": "/home/ikon/.pyenv",
"terminal.external.linuxExec": "/usr/bin/konsole",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "Noto Mono",
"terminal.integrated.fontSize": 14,
"terminal.integrated.scrollback": 10000,
"terminal.integrated.setLocaleVariables": true,
"terminal.integrated.shell.linux": "/bin/zsh",
"window.title": "${dirty}[${rootName}] ${activeEditorMedium}${separator}${appName}",
"window.zoomLevel": 1,
"workbench.colorTheme": "One Dark Pro",
"workbench.editor.closeOnFileDelete": false,
"workbench.editor.tabCloseButton": "off",
"workbench.startupEditor": "newUntitledFile",
"tableformatter.common.centerAlignedHeader": false,
"tableformatter.markdown.tableEdgesType": "Normal",
"go.goroot": "/home/ikon/apps/go",
"go.lintTool": "gometalinter",
"go.useCodeSnippetsOnFunctionSuggest": true,
"go.autocompleteUnimportedPackages": true,
"go.gotoSymbol.includeImports": true,
"go.enableCodeLens": {
"references": true,
"runtest": false
},
"go.liveErrors": {
"enabled": true,
"delay": 500
},
"workbench.iconTheme": "material-icon-theme"
}
@IvanskyDev
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment