Created
May 12, 2022 03:16
-
-
Save tuxracer/34a93362b32c447b457e8f72b43aa93d to your computer and use it in GitHub Desktop.
vscode notepad - place in .vscode/ directory where notes are stored
This file contains hidden or 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
{ | |
"recommendations": [ | |
"rioj7.command-variable", | |
"davidanson.vscode-markdownlint", | |
"esbenp.prettier-vscode", | |
"sleistner.vscode-fileutils", | |
"teabyii.ayu", | |
"yzhang.markdown-all-in-one", | |
"wk-j.save-and-run" | |
] | |
} |
This file contains hidden or 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
{ | |
"key": "cmd+n", | |
"command": "workbench.action.tasks.runTask", | |
"args": "New note", | |
"when": "config.workspaceKeybindings.quickNewFile.enabled" | |
} |
This file contains hidden or 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
{ | |
"workbench.colorTheme": "Ayu Light", | |
"workbench.activityBar.visible": false, | |
"workbench.iconTheme": null, | |
"workbench.statusBar.visible": false, | |
"workbench.tips.enabled": false, | |
"workbench.view.alwaysShowHeaderActions": false, | |
"editor.lineNumbers": "off", | |
"editor.renderLineHighlight": "none", | |
"gitlens.blame.highlight.enabled": true, | |
"editor.fontFamily": "'Consolas NF', Consolas, monospace", | |
"window.title": "${folderName} - ${activeEditorMedium}", | |
"files.autoSave": "afterDelay", | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"files.insertFinalNewline": true, | |
"files.trimTrailingWhitespace": true, | |
"files.trimFinalNewlines": true, | |
"explorer.confirmDragAndDrop": false, | |
"search.quickOpen.includeSymbols": true, | |
"explorer.confirmDelete": false, | |
"workspaceKeybindings.quickNewFile.enabled": true, | |
"workbench.editor.showIcons": true, | |
"files.exclude": { | |
".markdownlint.json": true | |
}, | |
"explorer.sortOrder": "modified", | |
"git.autofetch": true, | |
"git.autoStash": true, | |
"git.confirmSync": false, | |
"git.fetchOnPull": true, | |
"git.rebaseWhenSync": true, | |
"git.enableSmartCommit": true, | |
"git.postCommitCommand": "push", | |
"markdown.extension.preview.autoShowPreviewToSide": false, | |
"triggerTaskOnSave.showNotifications": true, | |
"saveAndRun": { | |
"commands": [ | |
{ | |
"match": ".*", | |
"cmd": "git add -A .; git commit -m \"update ${relativeFile}\" -m \"auto commit\"; git push", | |
"useShortcut": false, | |
"silent": true | |
} | |
] | |
}, | |
"gitlens.showWelcomeOnInstall": false, | |
"gitlens.showWhatsNewAfterUpgrades": false, | |
"gitlens.currentLine.enabled": false, | |
"editor.minimap.enabled": false, | |
"workbench.editor.limit.enabled": true, | |
"workbench.editor.limit.value": 1, | |
"workbench.editor.showTabs": false, | |
"workbench.editor.enablePreview": false, | |
"gitlens.menus": { | |
"editor": { | |
"blame": false, | |
"clipboard": false, | |
"compare": false, | |
"history": false, | |
"remote": false | |
}, | |
"editorGroup": { | |
"blame": false, | |
"compare": false | |
}, | |
"editorTab": { | |
"clipboard": false, | |
"compare": false, | |
"history": false, | |
"remote": false | |
}, | |
"explorer": { | |
"clipboard": false, | |
"compare": false, | |
"history": false, | |
"remote": false | |
}, | |
"scm": { | |
"authors": false | |
}, | |
"scmGroupInline": { | |
"stash": false | |
}, | |
"scmGroup": { | |
"compare": false, | |
"openClose": false, | |
"stash": false | |
}, | |
"scmItem": { | |
"clipboard": false, | |
"compare": false, | |
"history": false, | |
"remote": false, | |
"stash": false | |
} | |
}, | |
"customizeUI.font.regular": "\"Segoe UI\"", | |
"customizeUI.stylesheet": { | |
".monaco-workbench": "font-weight: 400;" | |
// ".monaco-workbench .part.editor>.content .editor-group-container>.title": "display: none !important;" | |
}, | |
"search.useIgnoreFiles": false | |
} |
This file contains hidden or 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "New note", | |
"command": "touch ${input:shortDate}.md; code ${input:shortDate}.md", | |
// to create and open this new file use the following instead | |
// "command": "touch `date +%Y%m%d-%H%M`-${input:fileName}.txt; code . `date +%Y%m%d-%H%M`-${input:fileName}.txt", | |
"type": "shell", | |
"problemMatcher": [], | |
"presentation": { | |
"echo": false, | |
"reveal": "silent", | |
"focus": false, | |
"panel": "shared", | |
"showReuseMessage": false, | |
"clear": true | |
}, | |
"promptOnClose": false | |
}, | |
{ | |
"label": "autoCommit", | |
"command": "git add -A .; git commit -m \"auto commit - ${input:shortDate}\"; git push; git pull origin main --rebase; git fetch --tags --force;", | |
"type": "shell" | |
} | |
], | |
"inputs": [ | |
{ | |
"type": "promptString", | |
"id": "fileName", | |
"description": "Complete my file name.", | |
"default": "note" // make your default text here | |
}, | |
{ | |
"id": "shortDate", | |
"type": "command", | |
"command": "extension.commandvariable.dateTime", | |
"args": { | |
"locale": "en-US", | |
"options": { | |
"weekday": "long", | |
"year": "numeric", | |
"month": "2-digit", | |
"day": "2-digit", | |
"hour12": false, | |
"hour": "2-digit", | |
"minute": "2-digit", | |
"second": "2-digit" | |
}, | |
"template": "${year}${month}${day}${hour}${minute}${second}" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment