Last active
December 8, 2018 03:42
-
-
Save mrkaspa/13cfd0698bce7bccadeacd960b647054 to your computer and use it in GitHub Desktop.
vscode config
This file contains 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 settings in this file to overwrite the default settings | |
"editor.acceptSuggestionOnCommitCharacter": false, | |
"editor.fontSize": 20, | |
"editor.fontFamily": "Fira Code", | |
"editor.codeLens": false, | |
"editor.fontLigatures": true, | |
"workbench.editor.enablePreview": false, | |
"files.autoSave": "onFocusChange", | |
"window.restoreWindows": "all", | |
"workbench.colorTheme": "One Dark Pro", | |
"explorer.autoReveal": false, | |
"editor.minimap.enabled": false, | |
"editor.wordWrap": "on", | |
"files.insertFinalNewline": true, | |
"files.trimTrailingWhitespace": true, | |
"workbench.startupEditor": "newUntitledFile", | |
"python.pythonPath": "python3", | |
"python.linting.lintOnSave": false, | |
"workbench.iconTheme": "vscode-icons", | |
"editor.snippetSuggestions": "top", | |
"editor.insertSpaces": true, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": true, | |
"suppressResultsExplorerNotice": false, | |
"suppressShowKeyBindingsNotice": true, | |
"suppressUpdateNotice": false, | |
"suppressWelcomeNotice": false | |
}, | |
"go.liveErrors": { | |
"enabled": true, | |
"delay": 500 | |
}, | |
"go.formatTool": "goreturns", | |
"go.formatFlags": ["-w"], | |
"prettier.eslintIntegration": true, | |
"prettier.semi": false, | |
"eslint.validate": [ | |
{ | |
"language": "javascript", | |
"autoFix": true | |
}, | |
{ | |
"language": "javascriptreact", | |
"autoFix": true | |
}, | |
{ | |
"language": "vue", | |
"autoFix": true | |
}, | |
], | |
"eslint.run": "onSave", | |
"eslint.autoFixOnSave": true, | |
"eslint.options": { | |
"semi": ["error", "never"] | |
}, | |
"tslint.autoFixOnSave": true, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"gitlens.keymap": "alternate", | |
"vsicons.dontShowNewVersionMessage": true, | |
"window.zoomLevel": 0, | |
"[html]": { | |
"editor.formatOnSave": false, | |
"editor.tabSize": 4 | |
}, | |
"[scss]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 4 | |
}, | |
"[javascript]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2 | |
}, | |
"[typescript]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2 | |
}, | |
"[python]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 4 | |
}, | |
"[go]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 4 | |
}, | |
"[elixir]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
"editor.acceptSuggestionOnEnter": "on", | |
"editor.wordBasedSuggestions": true | |
}, | |
"[ruby]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
}, | |
"[rust]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 4, | |
}, | |
"files.associations": { | |
"*.eex": "HTML (Eex)" | |
}, | |
"emmet.includeLanguages": { | |
"HTML (Eex)": "html" | |
}, | |
"terminal.integrated.rendererType": "dom", | |
"calva.lintOnSave": true, | |
"gitlens.views.fileHistory.enabled": true, | |
"gitlens.views.lineHistory.enabled": true | |
} |
This file contains 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 overwrite the defaults | |
{ | |
"key": "ctrl+shift+.", | |
"command": "type", | |
"args": { | |
"text": "require IEx\nIEx.pry" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+1", | |
"command": "type", | |
"args": { | |
"text": "|>" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+2", | |
"command": "type", | |
"args": { | |
"text": "->" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+3", | |
"command": "type", | |
"args": { | |
"text": "<-" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+4", | |
"command": "type", | |
"args": { | |
"text": "=>" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "type", | |
"args": { | |
"text": "<|" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "type", | |
"args": { | |
"text": "%{}" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "type", | |
"args": { | |
"text": ":=" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+/", | |
"command": "type", | |
"args": { | |
"text": "::" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+space", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+up", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-paredit.sexpRangeExpansion", | |
"when": "editorTextFocus && !editorReadOnly && paredit:keyMap == 'original' && editorLangId =~ /clojure|scheme|lisp/" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-paredit.sexpRangeExpansion", | |
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment