Last active
September 12, 2022 13:20
-
-
Save kanguki/e9efbd05a41fdc8b38188d9f0cd5e907 to your computer and use it in GitHub Desktop.
vi .config/Code/User/
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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+c", | |
"command": "-extension.vim_ctrl+c", | |
"when": "editorTextFocus && vim.active && vim.overrideCtrlC && vim.use<C-c> && !inDebugRepl" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-extension.vim_ctrl+f", | |
"when": "editorTextFocus && vim.active && vim.use<C-f> && !inDebugRepl && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-extension.vim_ctrl+space", | |
"when": "editorTextFocus && vim.active && vim.use<C-space> && !inDebugRepl && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "ctrl+shift+v", | |
"command": "extension.vim_ctrl+v", | |
"when": "editorTextFocus && vim.active && vim.use<C-v> && !inDebugRepl" | |
}, | |
{ | |
"key": "ctrl+v", | |
"command": "-extension.vim_ctrl+v", | |
"when": "editorTextFocus && vim.active && vim.use<C-v> && !inDebugRepl" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-extension.vim_ctrl+b", | |
"when": "editorTextFocus && vim.active && vim.use<C-b> && !inDebugRepl && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+left", | |
"command": "-cursorColumnSelectLeft", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+left", | |
"command": "-cursorLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-cursorWordLeftSelect", | |
"when": "textInputFocus" | |
} | |
] |
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
{ | |
"java.home": "/home/mo/.sdkman/candidates/java/11.0.11-open", | |
"vim.insertModeKeyBindings": [], | |
"vim.normalModeKeyBindings": [ | |
{ | |
"before": ["<C-l>"], | |
"after": ["<C-d>"] | |
}, | |
{ | |
"before": ["<C-h>"], | |
"after": ["<C-u>"] | |
}, | |
{ | |
"before": ["m", "m"], | |
"after": ["v", "i", "w"] | |
} | |
], | |
"vim.visualModeKeyBindings": [ | |
{ | |
"before": ["Space"], | |
"after": ["\"", "+", "y"] | |
} | |
], | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"go.toolsManagement.autoUpdate": true, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"editor.tabSize": 2, | |
"editor.cursorStyle": "line", | |
"editor.insertSpaces": false, | |
"editor.lineNumbers": "on", | |
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-", | |
"editor.wordWrap": "off", | |
"explorer.confirmDragAndDrop": false, | |
"explorer.confirmDelete": false, | |
"editor.rulers": [80], | |
"editor.fontSize": 20, | |
"files.autoSave": "afterDelay", | |
"workbench.iconTheme": "office-material-icon-theme", | |
"security.workspace.trust.untrustedFiles": "open", | |
"workbench.editor.untitled.hint": "hidden", | |
"files.exclude": { | |
"**/.classpath": true, | |
"**/.project": true, | |
"**/.settings": true, | |
"**/.factorypath": true | |
}, | |
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -javaagent:\"/home/mo/.vscode/extensions/gabrielbb.vscode-lombok-1.0.1/server/lombok.jar\"", | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"[dart]": { | |
"editor.defaultFormatter": "Dart-Code.dart-code" | |
}, | |
"[go]": { | |
"editor.defaultFormatter": "golang.go" | |
}, | |
"terminal.integrated.enableMultiLinePasteWarning": false, | |
"[c]": { | |
"editor.defaultFormatter": "ms-vscode.cpptools" | |
}, | |
"window.zoomLevel": 2, | |
"go.goroot": "/home/mo/.gvm/gos/go1.19" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment