Skip to content

Instantly share code, notes, and snippets.

@watasuke102
Last active June 23, 2023 02:19
Show Gist options
  • Save watasuke102/dfe3de98c50708247363bfae90ddb045 to your computer and use it in GitHub Desktop.
Save watasuke102/dfe3de98c50708247363bfae90ddb045 to your computer and use it in GitHub Desktop.
VSCode Settings
{
"editor.tabSize": 2,
"editor.fontSize": 13,
"editor.codeLens": false,
"editor.fontFamily": "MyricaM, 'MyricaM M', Consolas, 'Courier New', monospace",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.tabCompletion": "on",
"editor.stickyTabStops": true,
//"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?_",
"editor.minimap.enabled": false,
"editor.suggestSelection": "first",
"editor.renderWhitespace": "boundary",
"editor.renderLineHighlight": "all",
"editor.accessibilitySupport": "off",
"editor.inlineSuggest.enabled": true,
"editor.unicodeHighlight.nonBasicASCII": false,
"editor.scrollbar.verticalScrollbarSize": 8,
"editor.bracketPairColorization.enabled": true,
"editor.unicodeHighlight.ambiguousCharacters": false,
"files.autoSave": "afterDelay",
"files.autoGuessEncoding": true,
"files.insertFinalNewline": true,
"terminal.explorerKind": "external",
"terminal.integrated.rightClickBehavior": "selectWord",
"terminal.integrated.enableMultiLinePasteWarning": false,
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "One Dark Pro",
"workbench.tree.indent": 12,
"workbench.startupEditor": "none",
"workbench.editor.enablePreview": false,
"workbench.tree.renderIndentGuides": "always",
"workbench.editor.decorations.badges": true,
"workbench.editor.decorations.colors": true,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"window.dialogStyle": "custom",
"window.restoreFullscreen": true,
"window.titleBarStyle": "custom",
"indentRainbow.errorColor": "rgba(0,0,0,0)",
// "oneDarkPro.italic": false,
/*******************************************
Vim keybind Settings
********************************************/
"vim.hlsearch": true,
"vim.surround": true,
"vim.easymotion": true,
"vim.whichwrap": "b,h,l,w,<,>,[,]",
"vim.useSystemClipboard": true,
"vim.autoSwitchInputMethod.enable": false,
"vim.autoSwitchInputMethod.defaultIM": "-c ",
"vim.autoSwitchInputMethod.obtainIMCmd": "D:\\bin\\zenhan.exe 0",
"vim.autoSwitchInputMethod.switchIMCmd": "D:\\bin\\zenhan.exe {im}",
"settingsSync.ignoredSettings": [
"vim.autoSwitchInputMethod.obtainIMCmd",
"vim.autoSwitchInputMethod.switchIMCmd"
],
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-n>": false,
"<C-b>": false
},
"vim.normalModeKeyBindings": [
{
"before": [
"<Leader>",
"w"
],
"after": [
":",
"<C-u>",
"w",
"<CR>"
]
},
{
"before": [
"<Leader>",
"h"
],
"after": [
"^"
]
},
{
"before": [
"<Leader>",
"l"
],
"after": [
"$"
]
},
{
"before": [
"<C-j>"
],
"commands": [
"editor.action.moveLinesDownAction"
]
},
{
"before": [
"<C-k>"
],
"commands": [
"editor.action.moveLinesUpAction"
]
},
{
"before": [
"<C-h>"
],
"after": [
":",
"<C-u>",
"n",
"o",
"h",
"<CR>"
]
},
{
"before": [
"g",
"r"
],
"commands": [
"editor.action.goToReferences"
]
}
],
"vim.insertModeKeyBindings": [
// {
// "before": ["j", "j"],
// "after": ["<Esc>"]
// }
],
"vim.visualModeKeyBindings": [
{
"before": [
"<C-j>"
],
"commands": [
"editor.action.moveLinesDownAction"
]
},
{
"before": [
"<C-k>"
],
"commands": [
"editor.action.moveLinesUpAction"
]
}
],
/*******************************************
Extention Settings
********************************************/
"remote.SSH.connectTimeout": 30,
"remote.SSH.useLocalServer": false,
"git.suggestSmartCommit": false,
"git.ignoreMissingGitWarning": true,
"git.detectSubmodules": false,
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.views.repositories.showUpstreamStatus": false,
"gitlens.menus": {
"editorGroup": {
"blame": false,
"compare": false
}
},
"gitlens.advanced.messages": {
"suppressGitMissingWarning": true
},
"githubPullRequests.pullBranch": "never",
"markdown-preview-enhanced.enableHTML5Embed": true,
/*******************************************
Language Settings
********************************************/
"C_Cpp.clang_format_fallbackStyle": "Google",
"[asm-intel-x86-generic]": {
"editor.tabSize": 8,
"editor.insertSpaces": false
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.showUnlinkedFileNotification": false,
"rust-analyzer.notifications.cargoTomlNotFound": false,
// "rust-analyzer.inlayHints.chainingHints.enable": false,
"rust-analyzer.inlayHints.parameterHints.enable": false,
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.updateImportsOnFileMove.enabled": "always",
"task.slowProviderWarning": [
"typescript"
],
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"diffEditor.ignoreTrimWhitespace": false,
"remote.SSH.remotePlatform": {
"vps": "linux",
"arch-sub": "linux",
"192.168.0.2": "linux"
},
"mesonbuild.configureOnOpen": false,
"extensions.ignoreRecommendations": true,
"settingsSync.ignoredExtensions": [
"zxh404.vscode-proto3"
],
"projectManager.sortList": "Saved",
"prettier.prettierPath": "./node_modules/prettier",
"window.menuBarVisibility": "compact",
"git.allowNoVerifyCommit": true,
"git.mergeEditor": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment