Skip to content

Instantly share code, notes, and snippets.

@alysivji
Last active September 18, 2020 15:21
Show Gist options
  • Save alysivji/21f08de521f10f6803277a4e81972c5f to your computer and use it in GitHub Desktop.
Save alysivji/21f08de521f10f6803277a4e81972c5f to your computer and use it in GitHub Desktop.
VSCode Settings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+g",
"command": "editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "cmd+h",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "cmd+y",
"command": "redo",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+t",
"command": "workbench.action.tasks.test"
},
{
"key": "ctrl+alt+k",
"command": "-code-runner.runCustomCommand"
},
{
"key": "ctrl+alt+j",
"command": "-code-runner.runByLanguage"
},
{
"key": "cmd+r",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "shift+cmd+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "ctrl+shift+alt+cmd+g",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+cmd+g",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "cmd+1",
"command": "-numberedBookmarks.jumpToBookmark1",
"when": "editorTextFocus"
},
{
"key": "cmd+2",
"command": "-numberedBookmarks.jumpToBookmark2",
"when": "editorTextFocus"
},
{
"key": "cmd+3",
"command": "-numberedBookmarks.jumpToBookmark3",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+a",
"command": "workbench.view.extension.postgres-explorer"
},
{
"key": "f9",
"command": "sortLines.sortLinesCaseInsensitive",
"when": "editorTextFocus"
}
]
{
// Application setting
"workbench.colorTheme": "An Old Hope",
"window.zoomLevel": 3,
"breadcrumbs.enabled": false,
"workbench.activityBar.visible": false,
"workbench.editor.enablePreview": false,
"workbench.editor.showTabs": true,
"workbench.editor.tabSizing": "shrink",
"workbench.fontAliasing": "default",
"workbench.iconTheme": "material-icon-theme",
"workbench.list.multiSelectModifier": "alt",
"workbench.settings.editor": "json",
"workbench.settings.useSplitJSON": true,
"workbench.startupEditor": "none",
"workbench.statusBar.visible": false,
"zenMode.centerLayout": false,
"zenMode.hideTabs": false,
"terminal.integrated.fontFamily": "Source Code Variable",
"extensions.showRecommendationsOnlyOnDemand": true,
// Editor setings
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.fontSize": 13,
"editor.lineNumbers": "relative",
"editor.minimap.enabled": false,
"editor.multiCursorModifier": "alt",
"editor.rulers": [
79, 88, 99, 119
],
"editor.suggestSelection": "first",
// Files
"files.eol": "\n",
"files.associations": {
"*.toml": "cfg"
},
"files.exclude": {
"**/.vscode": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/__pycache__": true,
"**/.pyc": true,
"**/.cache": true,
"**/.pytest_cache": true,
"**/.hypothesis": true,
"**/.mypy_cache": true,
"**/.ipynb_checkpoints": true,
},
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
// Error Reporting
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"problems.decorations.enabled": false,
// Python VSCode Plugin settings
"python.pythonPath": "/Users/alysivji/.virtualenvs/code_everyday370/bin/python",
"python.jediEnabled": true,
"python.linting.enabled": true,
"python.linting.mypyEnabled": false,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--max-line-length=88",
"--ignore=E203,W503"
],
"python.formatting.blackPath": "/Users/alysivji/.virtualenvs/code_everyday370/bin/black",
"python.formatting.provider": "black",
// Language Configuration
"editor.detectIndentation": false,
"[css]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[groovy]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"[html]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[javascript]": {
"editor.tabSize": 2,
"editor.formatOnSave": true
},
"[json]": {
"editor.tabSize": 2,
"editor.formatOnSave": true
},
"[terraform]": {
"editor.tabSize": 2,
"editor.formatOnSave": true
},
"[markdown]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[ocaml]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[python]": {
"editor.tabSize": 4,
"editor.rulers": [
88, 99, 119
],
},
"[yaml]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
// Plugin Configuration
"docker.showExplorer": false,
"vim.mouseSelectionGoesIntoVisualMode": true,
"material-icon-theme.showUpdateMessage": false,
// Markdown
"markdown-toc.depthFrom": 2,
"markdown-toc.depthTo": 3,
"markdown-toc.detectAndAutoSetSection": false,
"markdown-toc.updateOnSave": true,
"markdownlint.config": {
// "MD001": false,
// "MD007": false,
},
// TypeScript Settings
"typescript.tsdk": "./node_modules/typescript/lib",
// Spelling
"cSpell.enabled": false,
"cSpell.userWords": [
"alysivji",
"ansible",
"conu",
"jsonify",
"microservices",
"noninvasively",
"noqa",
"pytest",
"sivji",
"kubernetes",
],
"cSpell.enabledLanguageIds": [
"markdown",
],
// GitLens
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": false,
"gitlens.statusBar.enabled": false,
"gitlens.hovers.enabled": false,
"gitlens.views.repositories.enabled": false,
"gitlens.views.fileHistory.enabled": false,
"gitlens.views.lineHistory.enabled": false,
"gitlens.views.search.enabled": false,
"gitlens.views.compare.enabled": false,
"gitlens.menus": false,
// Presentation Settings
// "workbench.colorTheme": "Quiet Light",
// "editor.rulers": [],
// "editor.renderIndentGuides": false,
// "editor.lineNumbers": "on",
// "editor.hover.enabled": false,
}
{
"version": "0.1.0",
"tasks": [
{
"taskName": "tests",
"command": "/Users/alysivji/.virtualenvs/code_everyday/bin/python",
"args": ["-m", "pytest"],
"isShellCommand": true,
"isTestCommand": true,
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment