Created
December 11, 2023 20:46
-
-
Save DNI9/616b314b58cf7b57a39e77a4507ccd32 to your computer and use it in GitHub Desktop.
VSCodeVim 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
[ | |
{ | |
"key": "ctrl+j", | |
"command": "selectNextSuggestion", | |
"when": "vim.active && suggestWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "selectPrevSuggestion", | |
"when": "vim.active && suggestWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.quickOpenSelectNext", | |
"when": "vim.active && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.quickOpenSelectPrevious", | |
"when": "vim.active && inQuickOpen" | |
}, | |
// scroll quick fix window | |
{ | |
"key": "ctrl+k", | |
"command": "selectPrevCodeAction", | |
"when": "vim.active && codeActionMenuVisible" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "selectNextCodeAction", | |
"when": "vim.active && codeActionMenuVisible" | |
}, | |
{ | |
"key": "space e", | |
"command": "workbench.action.toggleSidebarVisibility", | |
"when": "filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "a", | |
"command": "explorer.newFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "d", | |
"command": "moveFileToTrash", | |
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && foldersViewVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "r", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "x", | |
"command": "filesExplorer.cut", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "y", | |
"command": "filesExplorer.copy", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "p", | |
"command": "filesExplorer.paste", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
} | |
] |
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
{ | |
"diffEditor.hideUnchangedRegions.enabled": true, | |
"diffEditor.renderSideBySide": false, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": "explicit" | |
}, | |
"editor.cursorBlinking": "expand", | |
"editor.cursorSmoothCaretAnimation": "on", | |
"editor.cursorSurroundingLines": 8, | |
"editor.fontFamily": "'IosevkaTerm NFM', 'Droid Sans Mono', 'monospace', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.fontWeight": "500", | |
"editor.formatOnSave": true, | |
"editor.inlineSuggest.enabled": true, | |
"editor.lineNumbers": "relative", | |
"editor.linkedEditing": true, | |
"editor.minimap.autohide": true, | |
"editor.minimap.enabled": false, | |
"editor.minimap.renderCharacters": false, | |
"editor.smoothScrolling": true, | |
"editor.stickyScroll.enabled": true, | |
"editor.suggest.insertMode": "replace", | |
"editor.tabSize": 2, | |
"editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?", // treat - as included in word, useful for vim | |
"errorLens.enabledDiagnosticLevels": ["error", "warning"], | |
"errorLens.messageEnabled": true, | |
"errorLens.messageTemplate": "$source: $message", | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"extensions.autoUpdate": "onlyEnabledExtensions", | |
// To improve performance | |
"extensions.experimental.affinity": { | |
"vscodevim.vim": 1 | |
}, | |
"files.exclude": { | |
"**/node_modules": true | |
}, | |
"git.autofetch": true, | |
"git.enableSmartCommit": true, | |
"gitlens.currentLine.enabled": false, | |
"gitlens.graph.dimMergeCommits": true, | |
"gitlens.graph.layout": "editor", | |
"gitlens.graph.minimap.additionalTypes": [], | |
"gitlens.graph.minimap.enabled": false, | |
"terminal.integrated.fontFamily": "'IosevkaTerm NF', 'Droid Sans Mono', 'monospace', monospace", | |
"terminal.integrated.fontSize": 16, | |
"terminal.integrated.fontWeight": "500", | |
"totalTypeScript.hiddenTips": [ | |
"passing-generics-to-types", | |
"pick-utility-type", | |
"omit-utility-type", | |
"non-null-expression", | |
"typeof", | |
"in-operator-narrowing", | |
"partial-utility-type" | |
], | |
"totalTypeScript.hideAllTips": false, | |
"totalTypeScript.hideBasicTips": true, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"vim.easymotion": true, | |
"vim.foldfix": true, | |
"vim.handleKeys": { | |
"<C-a>": false, | |
"<C-f>": false | |
}, | |
"vim.highlightedyank.enable": true, | |
"vim.hlsearch": true, | |
"vim.incsearch": true, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"after": ["<esc>"], | |
"before": ["j", "j"] | |
} | |
], | |
"vim.leader": "<space>", | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<leader>", "e"], | |
"commands": ["workbench.view.explorer"], | |
"silent": true | |
}, | |
{ | |
"before": ["<leader>", "f", "f"], | |
"commands": ["workbench.action.quickOpen"], | |
"silent": true | |
}, | |
{ | |
"before": ["<leader>", "c", "f"], | |
"commands": ["editor.action.formatDocument"], | |
"silent": true | |
}, | |
{ | |
"before": ["<leader>", "w", "a"], | |
"commands": ["workbench.action.files.saveAll"], | |
"silent": true | |
}, | |
{ | |
"before": ["<leader>", "g", "g"], | |
"commands": ["gitlens.showGraph"], | |
"silent": true | |
}, | |
{ | |
"before": ["<s-l>"], | |
"commands": [":tabnext"] | |
}, | |
{ | |
"before": ["<s-h>"], | |
"commands": [":tabprev"] | |
}, | |
{ | |
"before": ["<Leader>", "b", "o"], | |
"commands": [":tabo"] | |
}, | |
{ | |
"before": ["<Leader>", "b", "d"], | |
"commands": [":tabclose"] | |
}, | |
{ | |
"before": ["<s-k>"], | |
"commands": ["editor.action.showHover"] | |
}, | |
{ | |
"before": ["[", "d"], | |
"commands": ["editor.action.marker.prev"] | |
}, | |
{ | |
"before": ["]", "d"], | |
"commands": ["editor.action.marker.next"] | |
}, | |
{ | |
"before": ["<leader>", "c", "a"], | |
"commands": ["editor.action.quickFix"] | |
} | |
], | |
"vim.sneak": true, | |
"vim.sneakUseIgnorecaseAndSmartcase": true, | |
"vim.surround": true, | |
"vim.useCtrlKeys": true, | |
"vim.useSystemClipboard": true, | |
"workbench.colorCustomizations": { | |
"tab.activeBorder": "#56a3cf" | |
}, | |
"workbench.colorTheme": "GitHub Dark Default", | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.list.smoothScrolling": true, | |
"workbench.settings.editor": "json", | |
"workbench.sideBar.location": "right", | |
"workbench.startupEditor": "none" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment