Skip to content

Instantly share code, notes, and snippets.

@phauer
Last active May 11, 2020 12:46
Show Gist options
  • Save phauer/bff96da5eb3f5318fc1b64eaf5e4da78 to your computer and use it in GitHub Desktop.
Save phauer/bff96da5eb3f5318fc1b64eaf5e4da78 to your computer and use it in GitHub Desktop.
Visual Studio Code Sync Settings Gist (outdated)
{"lastUpload":"2019-01-11T09:09:35.430Z","extensionVersion":"v3.1.2"}
[
{
"metadata": {
"id": "9e919931-6833-483d-a7b9-966f8f974227",
"publisherId": "joaompinto.asciidoctor-vscode",
"publisherDisplayName": "joaompinto"
},
"name": "asciidoctor-vscode",
"publisher": "joaompinto",
"version": "1.0.2"
},
{
"metadata": {
"id": "819a23e1-b6c6-41cf-9029-e653b537d996",
"publisherId": "ms-vscode.azure-account",
"publisherDisplayName": "ms-vscode"
},
"name": "azure-account",
"publisher": "ms-vscode",
"version": "0.3.3"
},
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"metadata": {
"id": "c529c9f4-005a-45b0-9fb9-89e0d9b8b990",
"publisherId": "Anjali.clipboard-history",
"publisherDisplayName": "Anjali"
},
"name": "clipboard-history",
"publisher": "Anjali",
"version": "1.0.7"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.1.2"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "8.2.4"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "lukehoban.Go",
"publisherDisplayName": "lukehoban"
},
"name": "Go",
"publisher": "lukehoban",
"version": "0.6.78"
},
{
"metadata": {
"id": "2617cc15-3631-4cca-a8ed-85fe1a059fec",
"publisherId": "cazzar09.Gradle",
"publisherDisplayName": "cazzar09"
},
"name": "Gradle",
"publisher": "cazzar09",
"version": "1.1.2"
},
{
"metadata": {
"id": "f30b63fa-e34a-40af-a573-5de5ecfb6c5e",
"publisherId": "k--kato.intellij-idea-keybindings",
"publisherDisplayName": "k--kato"
},
"name": "intellij-idea-keybindings",
"publisher": "k--kato",
"version": "0.2.22"
},
{
"metadata": {
"id": "d36bad53-910d-481a-a7ee-8992450665f6",
"publisherId": "mathiasfrohlich.Kotlin",
"publisherDisplayName": "mathiasfrohlich"
},
"name": "Kotlin",
"publisher": "mathiasfrohlich",
"version": "1.7.0"
},
{
"metadata": {
"id": "a4f91432-1b7d-4acd-b906-76d8ac8ad7e7",
"publisherId": "mdickin.markdown-shortcuts",
"publisherDisplayName": "mdickin"
},
"name": "markdown-shortcuts",
"publisher": "mdickin",
"version": "0.9.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.6.2"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2018.4.0"
},
{
"metadata": {
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d",
"publisherId": "rebornix.Ruby",
"publisherDisplayName": "rebornix"
},
"name": "Ruby",
"publisher": "rebornix",
"version": "0.19.0"
},
{
"metadata": {
"id": "349e83e2-207c-4309-a8d2-dfa43f7ee0c9",
"publisherId": "castwide.solargraph",
"publisherDisplayName": "castwide"
},
"name": "solargraph",
"publisher": "castwide",
"version": "0.17.6"
},
{
"metadata": {
"id": "085342db-9568-49b0-ad93-3223ac4c1baa",
"publisherId": "mrmlnc.vscode-apache",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-apache",
"publisher": "mrmlnc",
"version": "1.2.0"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "PeterJausovec.vscode-docker",
"publisherDisplayName": "PeterJausovec"
},
"name": "vscode-docker",
"publisher": "PeterJausovec",
"version": "0.0.26"
}
]
[
//the action for wrapping a selection with backticks has to be directly accessable
{ "key": "ctrl+.", "command": "md-shortcut.toggleInlineCode",
"when": "editorTextFocus && editorLangId == 'markdown'" },
//IntelliJ IDEA keymap extension didn't set the following keybindings:
{ "key": "alt+shift+down", "command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "alt+shift+up", "command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "alt+5" ,"command": "workbench.action.terminal.focus" },
{ "key": "alt+5" ,"command": "workbench.action.terminal.toggleTerminal"
,"when": "terminalFocus"
},
{ "key": "alt+5", "command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{ "key": "alt+1", "command": "workbench.action.toggleSidebarVisibility",
"when": "explorerFocus" },
{ "key": "alt+ins", "command": "explorer.newFile" },
{ "key": "ctrl+alt+w", "command": "workbench.action.closeActiveEditor" },
{ "key": "ctrl+shift+e", "command": "workbench.action.openRecent" },
//OpenRecent (ctrl+e) doesn't show all files. But quickOpen (ctrl+p) does this.
{ "key": "ctrl+e", "command": "workbench.action.quickOpen" },
{ "key": "ctrl+k", "command": "workbench.view.scm" },
{ "key": "ctrl+shift+k", "command": "git.push" },
{ "key": "ctrl+shift+t", "command": "workbench.action.terminal.new" },
{ "key": "alt+1", "command": "workbench.action.terminal.focusAtIndex1"
,"when": "terminalFocus"
},
{ "key": "alt+2", "command": "workbench.action.terminal.focusAtIndex2"
,"when": "terminalFocus"
},
{ "key": "alt+3", "command": "workbench.action.terminal.focusAtIndex3"
,"when": "terminalFocus"
},
{ "key": "alt+4", "command": "workbench.action.terminal.focusAtIndex4"
,"when": "terminalFocus"
},
//disable normal copy action to use "clipboard.copy" for ctrl+c instead.
//enables usage of Clipboard History extension (ctrl+shift+v)
{ "key": "ctrl+c", "command": "-editor.action.clipboardCopyAction",
"when": "editorTextFocus"
},
{ "key": "ctrl+shift+up", "command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{ "key": "ctrl+shift+down", "command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{ "key": "ctrl+alt+z", "command": "workbench.action.toggleZenMode" }
]
{
// Defines VSCode's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
// Changing the value requires to restart VSCode.
"locale":"en"
}
{
"name": "material-icon-theme",
"version": "2.1.0"
}
// Place your settings in this file to overwrite the default settings
{
"editor.fontSize": 17
,"editor.fontFamily": "'Ubuntu Mono', 'Droid Sans Mono', 'Courier New', monospace, 'Droid Sans Fallback'"
,"telemetry.enableTelemetry": false
,"telemetry.enableCrashReporter": false
,"editor.tabCompletion": true
,"workbench.iconTheme": "material-icon-theme"
,"window.openFoldersInNewWindow": "off" //on, off
,"window.restoreFullscreen": true
,"terminal.integrated.fontSize": 17
,
"sync.gist": "bff96da5eb3f5318fc1b64eaf5e4da78",
"sync.lastUpload": "2018-08-09T09:20:32.945Z",
"sync.autoDownload": true,
"sync.autoUpload": true,
"sync.lastDownload": "2018-04-03T12:45:16.211Z","sync.version": 262
,"sync.showSummary": true
,
"sync.forceDownload": false,
"sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,"window.menuBarVisibility": "default"
,"editor.minimap.enabled": false
,"git.enableSmartCommit": true
// Legt fest, ob Git vor dem einchecken nach nicht gespeicherten Dateien suchen soll
,"git.promptToSaveFilesBeforeCommit": true
,
"sync.askGistName": false,"[asciidoc]": {
"editor.wordWrap": "on"
,"editor.quickSuggestions": false
}
,"search.useIgnoreFiles": true
,"gitlens.codeLens.enabled": false
,"gitlens.currentLine.enabled": false
,"gitlens.hovers.currentLine.over": "line"
,
"gitlens.blame.line.enabled": false,
"gitlens.hovers.currentLine.enabled": false,
"gitlens.keymap": "alternate",
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true
},
"window.zoomLevel": 0,
"workbench.colorTheme": "Default Light+"
}
{
// Place your snippets for AsciiDoc here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Insert an Image": {
"prefix": "img",
"body": [
".${caption}",
"[link=../${1:image.png}]",
"image::${1:image.png}[]"
]
},
"Insert a Table": {
"prefix": "table",
"body": [
".${caption}",
"[options=\"header\", cols=\",v\"]",
"|===================================================",
"|Header1|Header2",
"|==================================================="
]
}
}
{
/*
// Place your snippets for HTML here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
}
// Place your snippets for Markdown here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
{
"Figure Shortcode": {
"prefix": "fig",
"body": [
"{{< figure ",
"src=\"${src:/blog/2017/}\"",
"link=\"${src:/blog/2017/}\"",
"caption=\"${caption}\">}}"
],
"description": "Insert Hugo Figure Shortcode"
},
"Figure Shortcode with class": {
"prefix": "figc",
"body": [
"{{< figure ",
"src=\"${src:/blog/2017/}\"",
"link=\"${src:/blog/2017/}\"",
"caption=\"${caption}\"",
"class=\"${class}\">}}"
],
"description": "Insert Hugo Figure Shortcode with class attribute"
},
"Page Configuration": {
"prefix": "config",
"body": [
"---",
"title: \"${title}\"",
"type: post",
"date: ${date:2017-04-01}",
"slug: ${slug}",
"draft: true",
"featuredImage: /blog/2017/${slug}/featured-image-200.png",
"description: \"${description:TODO}\"",
"categories:",
"- ${category:TODO}",
"tags:",
"- ${tag:TODO}",
"---",
"TODO",
"<!--more-->"
],
"description": "Insert Hugo Page Configuration"
},
"Kotlin Code Block": {
"prefix": "kot",
"body": [
"```kotlin",
"${code}",
"```"
],
"description": "Insert Kotlin Code Block"
},
"Java Code Block": {
"prefix": "java",
"body": [
"```java",
"${code}",
"```"
],
"description": "Insert Java Code Block"
},
"Bash Code Block": {
"prefix": "bash",
"body": [
"```bash",
"${code}",
"```"
],
"description": "Insert Bash Code Block"
},
"HTML Non-Breaking Space Entity": {
"prefix": "sp",
"body": [ "&nbsp;" ]
},
"Google Adsense Top": {
"prefix": "adt", "body": [ "{{< ad-top >}}" ]
},
"Google Adsense Middle": {
"prefix": "admi", "body": [ "{{< ad-middle >}}" ]
},
"Google Adsense Medium": {
"prefix": "adme", "body": [ "{{< ad-medium >}}" ]
},
"Google Adsense Bottom": {
"prefix": "adb", "body": [ "{{< ad-bottom >}}" ]
},
"Google Adsense Links": {
"prefix": "adl", "body": [ "{{< ad-links >}}" ]
},
"Hugo Photoswipe Gallery": {
"prefix": "gal",
"body": [
"{{< gallery >}}",
"{{< figure src=\"/post/${url}-350.JPG\" link=\"/post/${url}-1000.JPG\" caption=\"${caption}\">}}",
"{{< /gallery >}}"
]
},
"Hugo Photoswipe Gallery Initi": {
"prefix": "gali",
"body": [ "{{< load-photoswipe >}}" ]
}
}
{"version":"7.5.1","status":1,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment