Last active
November 4, 2024 21:05
-
-
Save darianmorat/4ed5043412ebcdff28c0a7ec06e3cf6a to your computer and use it in GitHub Desktop.
Visual Studio Code v1.91.1
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
{ | |
// =================== | |
// THEME CONFIGURATION | |
// =================== | |
// Light-themes | |
// ------------ | |
// "vim.highlightedyank.color": "#2f2f2f25", | |
// "vim.highlightedyank.textColor": "#000000", | |
// "editor.fontWeight": "600", | |
// "editor.rulers": [{ "column": 95, "color": "#2b2b2b21" }], | |
// Dark-themes | |
// ----------- | |
"vim.highlightedyank.color": "#3e3f4074", | |
"vim.highlightedyank.textColor": "#e6e3de", | |
"editor.fontWeight": "400", | |
"editor.rulers": [{ "column": 95, "color": "#2b2b2b" }], | |
// ================= | |
// VIM CONFIGURATION | |
// ================= | |
"vim.leader": " ", | |
"vim.useSystemClipboard": true, | |
"vim.ignorecase": true, | |
"vim.smartcase": true, | |
"vim.searchMatchTextColor": "#e6e3de", | |
"vim.cursorStylePerMode.insert": "block", | |
"vim.foldfix": false, | |
"vim.surround": true, | |
"extensions.experimental.affinity": { "vscodevim.vim": 1 }, | |
"vim.highlightedyank.enable": true, | |
"vim.highlightedyank.duration": 190, | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ "before": ["d", "i", "e"], "after": [] }, | |
{ "before": ["c", "i", "e"], "after": [] }, | |
{ "before": ["U"], "commands": [] }, | |
{ "before": ["u"], "commands": ["undo"] }, | |
{ "before": ["c-r"], "commands": ["redo"] }, | |
{ "before": ["g", "f"], "commands": ["editor.action.openLink"] }, | |
{ "before": ["=", "="], "commands": ["editor.action.reindentselectedlines"] }, | |
{ "before": ["c-d"], "after": ["c-d", "z", "z"] }, | |
{ "before": ["c-u"], "after": ["c-u", "z", "z"] }, | |
{ "before": ["n"], "after": ["n", "z", "z"] }, | |
{ "before": ["N"], "after": ["N", "z", "z"] }, | |
{ "before": ["K"], "after": ["m", "`", "i", "enter", "esc", "`", "`"] }, | |
{ "before": ["J"], "after": ["m", "`", "J", "`", "`"] }, | |
{ "before": ["s"], "commands": ["findThenJump2.initiate"] }, | |
{ "before": ["leader", "a"], "after": ["A"] }, | |
{ "before": ["leader", "i"], "after": ["I"] }, | |
{ "before": ["leader", "z"], "commands": ["workbench.action.toggleZenMode"] }, | |
{ "before": ["leader", "w"], "commands": [":w"] }, | |
{ "before": ["leader", "q"], "commands": [":q"] }, | |
{ "before": ["leader", "leader", "d"], "commands": [":q!"] }, | |
{ "before": ["leader", "leader", "b"], "commands": [":tabonly"] }, | |
{ "before": ["leader", "9"], "commands": ["workbench.action.moveEditorToPreviousGroup"] }, | |
{ "before": ["leader", "0"], "commands": ["workbench.action.moveEditorToNextGroup"] }, | |
{ "before": ["leader", "c", "c"], "commands": ["editor.action.commentLine"] }, | |
{ "before": ["leader", "c", "b"], "commands": ["editor.action.blockComment"] }, | |
{ "before": ["leader", "c", "a"], "after": ["A", "Space"], "commands": ["editor.action.blockComment"] }, | |
{ "before": ["leader", "c", "o"], "after": ["o"], "commands": ["editor.action.commentLine"] }, | |
{ "before": ["leader", "c", "O"], "after": ["O"], "commands": ["editor.action.commentLine"] }, | |
{ "before": ["c-l"], "commands": ["editor.action.selectHighlights"] }, | |
{ "before": ["c-n"], "commands": ["editor.action.addSelectionToNextFindMatch"] }, | |
{ "before": ["leader", "e", "f"], "commands": ["editor.action.quickFix"] }, | |
{ "before": ["leader", "e", "j"], "commands": ["editor.action.marker.next"] }, | |
{ "before": ["leader", "e", "k"], "commands": ["editor.action.marker.prev"] }, | |
{ "before": ["leader", "g", "j"], "commands": ["workbench.action.compareEditor.nextChange", "editor.action.dirtydiff.next"] }, | |
{ "before": ["leader", "g", "k"], "commands": ["workbench.action.compareEditor.previousChange", "editor.action.dirtydiff.previous"] }, | |
{ "before": ["leader", "g", "g"], "commands": ["git.openChange"] }, | |
{ "before": ["leader", "g", "s"], "commands": ["toggle.diff.renderSideBySide"] }, | |
{ "before": ["leader", "g", "c"], "commands": ["diffEditor.toggleCollapseUnchangedRegions"] }, | |
{ "before": ["leader", "f", "f"], "commands": ["find-it-faster.findFiles"] }, | |
{ "before": ["leader", "f", "g"], "commands": ["find-it-faster.findWithinFiles"] }, | |
{ "before": ["leader", "f", "o"], "commands": ["find-it-faster.resumeSearch"] }, | |
{ "before": ["leader", "f", "j"], "commands": ["workbench.action.showEditorsInGroup"] }, | |
{ "before": ["leader", "f", "r"], "commands": ["editor.action.goToReferences"] }, | |
{ "before": ["leader", "f", "w"], "after": ["y", "i", "w"], "commands": ["find-it-faster.findWithinFiles", "workbench.action.terminal.paste"] }, | |
{ "before": ["leader", "f", "W"], "after": ["y", "i", "W"], "commands": ["find-it-faster.findWithinFiles", "workbench.action.terminal.paste"] }, | |
{ "before": ["c-m"], "commands": ["vscode-harpoon.addEditor"] }, | |
{ "before": ["leader", "f", "m"], "commands": ["vscode-harpoon.editEditors"] }, | |
{ "before": ["leader", "f", "k"], "commands": ["vscode-harpoon.editorQuickPick"] }, | |
{ "before": ["leader", "1"], "commands": ["vscode-harpoon.gotoEditor1"] }, | |
{ "before": ["leader", "2"], "commands": ["vscode-harpoon.gotoEditor2"] }, | |
{ "before": ["leader", "3"], "commands": ["vscode-harpoon.gotoEditor3"] }, | |
{ "before": ["leader", "4"], "commands": ["vscode-harpoon.gotoEditor4"] } | |
], | |
"vim.visualModeKeyBindings": [ | |
{ "before": ["K"], "commands": ["editor.action.moveLinesUpAction"] }, | |
{ "before": ["J"], "commands": ["editor.action.moveLinesDownAction"] }, | |
{ "before": ["s"], "after": [""], "commands": ["findThenJump2.initiateWithSelection"] }, | |
{ "before": ["c-l"], "commands": ["editor.action.selectHighlights"] }, | |
{ "before": ["c-n"], "commands": [] }, | |
{ "before": ["n"], "commands": ["editor.action.addSelectionToNextFindMatch"] }, | |
{ "before": ["N"], "commands": ["editor.action.addSelectionToPreviousFindMatch"] }, | |
{ "before": ["u"], "commands": ["cursorUndo"] }, | |
{ "before": ["leader", "c"], "commands": ["editor.action.commentLine", "extension.vim_escape"] }, | |
{ "before": ["leader", "b"], "commands": ["editor.action.blockComment", "extension.vim_escape"] }, | |
{ "before": ["leader", "r"], "commands": ["git.revertSelectedRanges"] }, | |
{ "before": ["leader", "s"], "commands": ["git.stageSelectedRanges"] } | |
], | |
// ===================== | |
// GENERAL CONFIGURATION | |
// ===================== | |
"apc.electron": { "frame": false }, | |
"apc.header": { "height": 34 }, | |
"apc.statusBar": { "height": 31, "fontSize": 12 }, | |
"window.titleBarStyle": "native", | |
"workbench.editor.revealIfOpen": true, | |
"workbench.settings.editor": "json", | |
"workbench.startupEditor": "none", | |
"window.zoomLevel": 0.5, | |
"workbench.colorTheme": "GruvDark", | |
"workbench.iconTheme": null, | |
"workbench.editor.showTabs": "single", | |
"editor.renderLineHighlight": "none", | |
"editor.renderWhitespace": "none", | |
"editor.bracketPairColorization.enabled": false, | |
"editor.roundedSelection": false, | |
"editor.cursorSurroundingLines": 6, | |
"editor.lineNumbers": "relative", | |
"editor.fontSize": 17, | |
"terminal.integrated.fontSize": 17, | |
"editor.fontFamily": "JetBrains Mono NL Slashed", | |
"terminal.integrated.fontFamily": "JetBrains Mono NL Slashed", | |
"editor.cursorBlinking": "solid", | |
"terminal.integrated.cursorBlinking": false, | |
"editor.suggestSelection": "first", | |
"editor.acceptSuggestionOnCommitCharacter": false, | |
"editor.suggest.localityBonus": true, | |
"editor.suggest.insertMode": "insert", | |
"editor.quickSuggestions": { "other": "on", "comments": "off", "strings": "off" }, | |
"prettier.singleQuote": true, | |
"prettier.tabWidth": 3, | |
"editor.tabSize": 3, | |
"prettier.printWidth": 80, | |
"editor.detectIndentation": false, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"[html]": { "editor.defaultFormatter": "vscode.html-language-features" }, | |
"[css]": { "editor.defaultFormatter": "vscode.css-language-features" }, | |
"window.commandCenter": false, | |
"workbench.layoutControl.enabled": false, | |
"editor.minimap.enabled": false, | |
"breadcrumbs.enabled": false, | |
"workbench.activityBar.location": "hidden", | |
"editor.scrollbar.vertical": "hidden", | |
"editor.scrollbar.horizontal": "hidden", | |
"editor.stickyScroll.enabled": false, | |
"editor.lightbulb.enabled": "off", | |
"zenMode.fullScreen": false, | |
"zenMode.hideLineNumbers": false, | |
"zenMode.silentNotifications": false, | |
"zenMode.showTabs": "none", | |
"errorLens.messageEnabled": true, | |
"errorLens.messageBackgroundMode": "message", | |
"errorLens.messageTemplate": " $message ", | |
"errorLens.gutterIconsEnabled": true, | |
"errorLens.borderRadius": "0", | |
"errorLens.gutterIconSet": "square", | |
"editor.scrollbar.verticalScrollbarSize": 10, | |
"scm.diffDecorationsGutterWidth": 3, | |
"scm.diffDecorations": "gutter", | |
"scm.diffDecorationsGutterPattern": { "added": false, "modified": false }, | |
"workbench.panel.defaultLocation": "right", | |
"terminal.integrated.tabs.enabled": false, | |
"terminal.integrated.fontWeightBold": "normal", | |
"terminal.integrated.allowChords": false, | |
"terminal.integrated.shellIntegration.decorationsEnabled": "never", | |
"find-it-faster.general.batTheme": "base16", | |
"find-it-faster.findFiles.showPreview": false, | |
"find-it-faster.findWithinFiles.previewWindowConfig": "top,75%,border-sharp,+{2}+3/2,~2", | |
"find-it-faster.findWithinFiles.previewCommand": "bat --color=always --style=header,grid --highlight-line {2} {1} | tail -n +2 | head -n -1", | |
"search.exclude": { | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"**/*.code-search": true | |
}, | |
"workbench.colorCustomizations": { | |
"findThenJump2.textDecorationForeground": "#e6e3de", | |
"findThenJump2.textDecorationBackground": "#5c5c5e", | |
"statusBarItem.remoteBackground": "#00000000", | |
"scrollbarSlider.background":"#00000000" | |
}, | |
"update.mode": "none", | |
"update.enableWindowsBackgroundUpdates": false, | |
"git.openRepositoryInParentFolders": "always", | |
"editor.accessibilitySupport": "off", | |
"remote.autoForwardPortsSource": "hybrid", | |
"typescript.disableAutomaticTypeAcquisition": true, | |
"cSpell.enabled": false, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"diffEditor.renderSideBySide": true | |
} |
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
[ | |
// GENERAL | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.showCommands", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "workbench.action.openRecent" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+k n", | |
"command": "notifications.showList", | |
}, | |
{ | |
"key": "ctrl+k n", | |
"command": "notifications.focusFirstToast", | |
"when": "notificationToastsVisible" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "extension.vim_ctrl+p", | |
"when": "editorTextFocus && vim.mode == 'CommandlineInProgress' || vim.mode == 'SearchInProgressMode'" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "extension.vim_ctrl+n", | |
"when": "editorTextFocus && vim.mode == 'CommandlineInProgress' || vim.mode == 'SearchInProgressMode'" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "tab", | |
"when": "!terminalFocus && vim.mode == 'Insert'" | |
}, | |
{ | |
"key": "ctrl+space ctrl+space", | |
"command": "toggleSuggestionDetails", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
// EDITORS | |
{ | |
"key": "ctrl+o", | |
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup", | |
"when": "!terminalFocus && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "workbench.action.openNextRecentlyUsedEditorInGroup", | |
"when": "!terminalFocus && vim.mode != 'Insert'" | |
}, | |
// GROUPS | |
{ | |
"key": "ctrl+shift+-", | |
"command": "workbench.action.decreaseViewSize" | |
}, | |
{ | |
"key": "ctrl+shift+=", | |
"command": "workbench.action.increaseViewSize" | |
}, | |
{ | |
"key": "ctrl+k ctrl+k", | |
"command": "workbench.action.evenEditorWidths" | |
}, | |
{ | |
"key": "ctrl+k ctrl+m", | |
"command": "workbench.action.toggleMaximizeEditorGroup", | |
"when": "editorPartMaximizedEditorGroup || editorPartMultipleEditorGroups" | |
}, | |
{ | |
"command": "runCommands", | |
"key": "ctrl+h", | |
"args": { "commands": [ "workbench.action.focusNextGroup", "workbench.action.maximizeEditorHideSidebar" ] }, | |
"when": "!terminalFocus", | |
}, | |
// TERMINAL | |
{ | |
"key": "ctrl+j", | |
"command": "runCommands", | |
"args": { "commands": ["workbench.action.closeSidebar", "workbench.action.terminal.focus"] }, | |
"when": "sideBarVisible" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+0", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+0", | |
"command": "workbench.action.terminal.focus", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+x", | |
"command": "workbench.action.toggleMaximizedPanel", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+alt+b", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { "text": "\u001Bb" }, | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+alt+f", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { "text": "\u001bf" }, | |
"when": "terminalFocus" | |
}, | |
// REMOVED | |
{ | |
"key": "escape escape", | |
"command": "-workbench.action.exitZenMode" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "-extension.vim_ctrl+k" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "-extension.vim_ctrl+j" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-workbench.action.terminal.focusFind" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.zoomOut" | |
}, | |
{ | |
"key": "ctrl+/", | |
"command": "-editor.action.commentLine" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes:
editor.suggest.localityBonus: true
learn more about this.