Last active
April 27, 2024 22:39
-
-
Save darianmorat/4ed5043412ebcdff28c0a7ec06e3cf6a to your computer and use it in GitHub Desktop.
Visual Studio Code
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
{ | |
// ================= | |
// VIM CONFIGURATION | |
// ================= | |
"editor.lineNumbers": "relative", | |
"editor.cursorSurroundingLines": 8, | |
"terminal.integrated.cursorBlinking": false, | |
"editor.cursorBlinking": "solid", | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.leader": "space", | |
"vim.searchMatchTextColor": "white", | |
"vim.highlightedyank.enable": true, | |
"vim.highlightedyank.duration": 150, | |
"vim.highlightedyank.color": "rgba(241, 48, 48, 0)", | |
"vim.highlightedyank.textColor": "white", | |
"vim.handleKeys": { | |
"<C-j>": false, | |
"<C-k>": false, | |
"<C-p>": false | |
// Find usage for c-s | |
}, | |
// c-g = info position | |
// {Num} G = go line | |
// gd = definition | |
// gh = hover | |
// vi/va = in out | |
// '/char\c' = all matches | |
// insert = c-w,u,h | |
// o = visual mode | |
// g c-a = increment numb | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["u"], | |
"commands": ["undo"] | |
}, | |
{ | |
"before": ["U"], | |
"commands": ["redo"] | |
}, | |
{ | |
"before": ["leader", "s"], | |
"commands": ["editor.action.formatDocument"] | |
}, | |
{ | |
"before": ["leader", "leader", "j"], | |
"after": ["J"] | |
}, | |
// MOTIONS | |
{ | |
"before": ["leader", "a"], | |
"after": ["A"] | |
}, | |
{ | |
"before": ["leader", "i"], | |
"after": ["I"] | |
}, | |
// KEEP or REMAP | |
{ | |
"before": ["K"], | |
"commands": [""] | |
}, | |
{ | |
"before": ["J"], | |
"commands": [""] | |
}, | |
// FIND MOTION | |
{ | |
"before": ["s"], | |
"commands": ["findThenJump.initiate"] | |
}, | |
{ | |
"before": ["S"], | |
"commands": ["findThenJump.initiateWithSelection"] | |
}, | |
// TOGGLE FUNCTIONS | |
{ | |
"before": ["leader", "t", "m"], | |
"commands": ["errorLens.toggleInlineMessage"] | |
}, | |
{ | |
"before": ["leader", "t", "s"], | |
"commands": ["cSpell.toggleEnableSpellChecker"] | |
}, | |
{ | |
"before": ["leader", "t", "z"], | |
"commands": ["workbench.action.toggleZenMode"] | |
}, | |
// ERRORS: Remove the msg f8 popup | |
{ | |
"before": ["leader", "q"], | |
"commands": ["editor.action.quickFix"] | |
}, | |
{ | |
"before": ["leader", "e"], | |
"commands": ["editor.action.marker.next"] | |
}, | |
{ | |
"before": ["leader", "leader", "e"], | |
"commands": ["editor.action.marker.prev"] | |
}, | |
// GIT CHANGES | |
{ | |
"before": ["leader", "w"], | |
"commands": ["editor.action.dirtydiff.next"] | |
}, | |
{ | |
"before": ["leader", "leader", "w"], | |
"commands": ["editor.action.dirtydiff.previous"] | |
}, | |
{ | |
"before": ["leader", "tab"], | |
"commands": ["git.openChange"] | |
}, | |
// TABS | |
{ | |
"before": ["leader", "1"], | |
"commands": [":tabfirst"] | |
}, | |
{ | |
"before": ["leader", "9"], | |
"commands": [":tablast"] | |
}, | |
{ | |
"before": ["leader", "2"], | |
"commands": ["workbench.action.openEditorAtIndex2"] | |
}, | |
{ | |
"before": ["leader", "3"], | |
"commands": ["workbench.action.openEditorAtIndex3"] | |
}, | |
{ | |
"before": ["leader", "4"], | |
"commands": ["workbench.action.openEditorAtIndex4"] | |
}, | |
{ | |
"before": ["leader", "5"], | |
"commands": ["workbench.action.openEditorAtIndex5"] | |
}, | |
{ | |
"before": ["leader", "6"], | |
"commands": ["workbench.action.openEditorAtIndex6"] | |
}, | |
{ | |
"before": ["leader", "7"], | |
"commands": ["workbench.action.openEditorAtIndex7"] | |
}, | |
{ | |
"before": ["leader", "8"], | |
"commands": ["workbench.action.openEditorAtIndex8"] | |
}, | |
// FILE UTILS | |
{ | |
"before": ["leader", "d", "d"], | |
"commands": ["moveFileToTrash"] | |
}, | |
{ | |
"before": ["leader", "d", "f"], | |
"commands": ["dynoFileUtils.deleteFolder"] | |
}, | |
{ | |
"before": ["leader", "d", "a"], | |
"commands": ["dynoFileUtils.newItems"] | |
}, | |
{ | |
"before": ["leader", "d", "c"], | |
"commands": ["dynoFileUtils.newItemsAtCurrentPath"] | |
}, | |
{ | |
"before": ["leader", "d", "x"], | |
"commands": ["dynoFileUtils.moveFile"] | |
}, | |
{ | |
"before": ["leader", "d", "y"], | |
"commands": ["dynoFileUtils.duplicateFile"] | |
}, | |
{ | |
"before": ["leader", "d", "r"], | |
"commands": ["dynoFileUtils.renameFile"] | |
}, | |
// FIND IT FASTER | |
// History Files - Missing | |
{ | |
"before": ["leader", "f", "f"], | |
"commands": ["find-it-faster.findFiles"] | |
}, | |
{ | |
"before": ["leader", "f", "w"], | |
"commands": ["find-it-faster.findWithinFiles"] | |
}, | |
{ | |
"before": ["leader", "f", "o"], | |
"commands": ["find-it-faster.resumeSearch"] | |
}, | |
{ | |
"before": ["leader", "f", "t"], | |
"commands": ["find-it-faster.findWithinFilesWithType"] | |
}, | |
{ | |
"before": ["leader", "f", "r"], | |
"commands": ["editor.action.goToReferences"] | |
} | |
], | |
"vim.visualModeKeyBindings": [ | |
{ | |
"before": ["K"], | |
"commands": ["editor.action.moveLinesUpAction"] | |
}, | |
{ | |
"before": ["J"], | |
"commands": ["editor.action.moveLinesDownAction"] | |
} | |
], | |
// ==================== | |
// VISUAL CONFIGURATION | |
// ==================== | |
"workbench.colorCustomizations": { | |
"statusBarItem.remoteBackground": "#00000000", | |
"tab.activeBorderTop": "#00000000", | |
"editorCursor.foreground": "#cecece", | |
"findThenJump.textDecorationForeground": "#FFFFFF", | |
"findThenJump.textDecorationBackground": "#2c11c2" | |
}, | |
// =================== | |
// UI/UX CONFIGURATION | |
// =================== | |
"window.titleBarStyle": "native", | |
"apc.menubar.compact": true, | |
"apc.electron": { | |
"frame": false, | |
"opacity": 0.95 | |
}, | |
"apc.header": { | |
"height": 37 | |
}, | |
"apc.statusBar": { | |
"height": 26 // Reset when not working | |
}, | |
// ===================== | |
// GENERAL CONFIGURATION | |
// ===================== | |
"workbench.settings.editor": "json", | |
"workbench.startupEditor": "none", | |
"window.zoomLevel": 1, | |
"workbench.iconTheme": "vs-seti-folder", | |
"workbench.colorTheme": "Darian Theme", | |
"editor.fontSize": 14, | |
"terminal.integrated.fontSize": 14, | |
"editor.fontFamily": "Jetbrains Mono", | |
"terminal.integrated.fontFamily": "JetbrainsMono Nerd Font", | |
"explorer.compactFolders": false, | |
"workbench.tree.indent": 20, | |
"editor.renderLineHighlight": "none", | |
"editor.renderWhitespace": "none", | |
"editor.rulers": [ | |
{ "column": 80, "color": "#2a2a2a" }, | |
{ "column": 110, "color": "#3a3a3a" }, | |
{ "column": 140, "color": "#4a4a4a" } | |
// { "column": 80, "color": "#353535" } // Dimmed | |
], | |
"files.autoSave": "afterDelay", | |
"files.autoSaveDelay": 1000, // 8000 | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"[css]": { | |
"editor.defaultFormatter": "vscode.css-language-features" | |
}, | |
"editor.tabSize": 3, | |
"prettier.tabWidth": 3, | |
"editor.detectIndentation": false, | |
"editor.bracketPairColorization.enabled": false, | |
"workbench.activityBar.location": "hidden", | |
"editor.minimap.enabled": false, | |
"breadcrumbs.enabled": false, | |
"window.commandCenter": false, | |
"workbench.layoutControl.enabled": false, | |
"editor.scrollbar.vertical": "hidden", | |
"editor.scrollbar.horizontal": "hidden", | |
"zenMode.fullScreen": false, | |
"zenMode.hideStatusBar": false, | |
"zenMode.showTabs": "multiple", | |
"zenMode.hideLineNumbers": false, | |
"zenMode.silentNotifications": false, | |
"errorLens.messageEnabled": true, | |
"errorLens.messageBackgroundMode": "message", | |
"errorLens.messageTemplate": " ◩ $message ", // ▣ ◩ ◐ | |
"errorLens.gutterIconsEnabled": true, | |
"errorLens.gutterIconSet": "squareRounded", | |
"terminal.integrated.tabs.enabled": false, | |
"find-it-faster.general.showMaximizedTerminal": true, | |
"find-it-faster.general.batTheme": "TwoDark", | |
"find-it-faster.general.useWorkspaceSearchExcludes": true, | |
"search.exclude": { | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"**/*.code-search": true, | |
"**/*.jpg": true, | |
"**/*.jpeg": true, | |
"**/*.png": true, | |
"**/*.svg": true, | |
"**/.vscodeignore": true, | |
"**/.gitattributes": true, | |
"**/.gitignore": true | |
}, | |
"fiveServer.openTerminal": false, | |
"remote.autoForwardPortsSource": "hybrid", | |
"typescript.disableAutomaticTypeAcquisition": true, // Learn more about this | |
"editor.acceptSuggestionOnCommitCharacter": false, | |
"editor.accessibilitySupport": "off", | |
"cSpell.enabled": false, | |
"update.mode": "manual" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment