Created
December 31, 2024 22:26
-
-
Save icub3d/e7b04e886696b0019f79b04b2a434418 to your computer and use it in GitHub Desktop.
Code Settings
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
[ | |
{ | |
// "ctrl+h": Focuses on the left editor group when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
"key": "ctrl+h", | |
"command": "workbench.action.focusLeftGroup", | |
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'" | |
}, | |
{ | |
// "ctrl+l": Focuses on the right editor group when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
"key": "ctrl+l", | |
"command": "workbench.action.focusRightGroup", | |
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'" | |
}, | |
{ | |
// "ctrl+k": Focuses on the editor group above the current one when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
"key": "ctrl+k", | |
"command": "workbench.action.focusAboveGroup", | |
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'" | |
}, | |
{ | |
// "ctrl+j": Focuses on the editor group below the current one when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
"key": "ctrl+j", | |
"command": "workbench.action.focusBelowGroup", | |
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "-workbench.action.quickOpen", | |
"when": "terminalFocus" | |
}, | |
// Terminal commands | |
// toggle panel ctrl+j | |
{ | |
"key": "shift+alt+t", | |
"command": "workbench.action.terminal.new" | |
}, | |
{ | |
"key": "alt+t", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+.", | |
"command": "workbench.action.positionPanelRight" | |
}, | |
{ | |
"key": "ctrl+shift+,", | |
"command": "workbench.action.positionPanelBottom" | |
}, | |
{ | |
"key": "ctrl+shift+t", | |
"command": "workbench.action.toggleMaximizedPanel", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+shift+j", | |
"command": "workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+shift+k", | |
"command": "workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "workbench.action.terminal.focusNext" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "workbench.action.terminal.focusPrevious" | |
}, | |
{ | |
"key": "alt+t", | |
"command": "workbench.action.terminal.focus", | |
"when": "!terminalFocus" | |
}, | |
// terminal removals to work like expected | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-workbench.action.terminal.focusFindWidget", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-workbench.action.terminal.focusFindWidget", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-workbench.action.terminal.focusFindWidget", | |
"when": "terminalFindWidgetFocused" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "-editor.action.transposeLetters", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+t", | |
"command": "-workbench.action.reopenClosedEditor" | |
}, | |
] |
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
{ | |
"workbench.colorTheme": "Catppuccin Mocha", | |
"cSpell.userWords": ["Catppuccin"], | |
"editor.fontFamily": "JetBrainsMono Nerd Font", | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"redhat.telemetry.enabled": true, | |
"git.autofetch": true, | |
"githubPullRequests.pullBranch": "never", | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.minimap.enabled": false, | |
"go.toolsManagement.autoUpdate": true, | |
"editor.fontLigatures": true, | |
"vim.leader": "<space>", | |
"vim.easymotion": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.hlsearch": true, | |
"vim.useCtrlKeys": true, | |
"vim.visualModeKeyBindings": [ | |
{ | |
"before": [">"], | |
"commands": ["editor.action.indentLines"] | |
}, | |
{ | |
"before": ["<"], | |
"commands": ["editor.action.outdentLines"] | |
} | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<leader>", "f", "t"], | |
"commands": ["workbench.action.toggleSidebarVisibility"] | |
}, | |
{ | |
"before": ["<leader>", "c", "c"], | |
"commands": ["editor.action.commentLine"] | |
}, | |
{ | |
"before": ["<leader>", "l", "b"], | |
"commands": ["workbench.action.navigateBack"] | |
}, | |
{ | |
"before": ["<leader>", "l", "d"], | |
"commands": ["editor.action.revealDefinition"] | |
}, | |
{ | |
"before": ["<leader>", "l", "R"], | |
"commands": ["editor.action.rename"] | |
}, | |
{ | |
"before": ["<leader>", "f", "f"], | |
"commands": ["workbench.action.quickOpen"] | |
}, | |
{ | |
"before": ["<leader>", "f", "c"], | |
"commands": ["workbench.action.showCommands"] | |
} | |
], | |
"terminal.integrated.profiles.osx": { | |
"nu": { | |
"path": "/opt/homebrew/bin/nu" | |
} | |
}, | |
"terminal.integrated.defaultProfile.osx": "nu", | |
"workbench.iconTheme": "catppuccin-mocha", | |
"python.defaultInterpreterPath": "C:\\Users\\jmars23\\AppData\\Local\\Programs\\Python\\Python310\\python.exe", | |
"git.enableCommitSigning": true, | |
"gitlens.codeLens.enabled": false, | |
"gitlens.statusBar.enabled": false, | |
"git.enableSmartCommit": true, | |
"github.copilot.editor.enableAutoCompletions": true, | |
"git.confirmSync": false, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"editor.inlayHints.enabled": "off", | |
"[rust]": { | |
"editor.defaultFormatter": "rust-lang.rust-analyzer", | |
"editor.formatOnSave": true | |
}, | |
"files.autoSave": "afterDelay", | |
"git.openRepositoryInParentFolders": "always" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment