Skip to content

Instantly share code, notes, and snippets.

@phelipetls
Created November 12, 2025 14:58
Show Gist options
  • Select an option

  • Save phelipetls/ddcd443fbb08c167921ca7097d7f38ba to your computer and use it in GitHub Desktop.

Select an option

Save phelipetls/ddcd443fbb08c167921ca7097d7f38ba to your computer and use it in GitHub Desktop.
VS Code Settings
[
{
"key": "ctrl+a",
"command": "cursorLineStart",
"when": "textInputFocus && vim.active && vim.mode == 'Insert'"
},
{
"key": "ctrl+e",
"command": "cursorLineEnd",
"when": "textInputFocus && vim.active && vim.mode == 'Insert'"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
}
]
{
"window.menuBarVisibility": "hidden",
"editor.fontFamily": "Consolas,'Source Code Pro','monospace', monospace",
"editor.cursorStyle": "block",
"editor.minimap.enabled": false,
"editor.renderWhitespace": "trailing",
"editor.formatOnSaveMode": "modifications",
"editor.formatOnSave": true,
"editor.cursorBlinking": "solid",
"explorer.compactFolders": false,
"workbench.colorTheme": "Default Dark+",
"workbench.startupEditor": "none",
"workbench.sideBar.location": "right",
"workbench.tree.indent": 12,
"workbench.editor.enablePreview": false,
"scm.diffDecorations": "gutter",
"files.enableTrash": false,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.handleKeys": {
"<C-b>": false,
"<C-f>": false,
"<C-p>": false
},
"vim.normalModeKeyBindings": [
{"before": ["-"], "commands": ["workbench.view.explorer"]},
{"before": ["[", "d"], "commands": ["editor.action.revealDefinition"]},
{"before": ["[", "e"], "commands": ["editor.action.moveLinesUpAction"]},
{"before": ["]", "e"], "commands": ["editor.action.moveLinesDownAction"]},
{"before": ["]", "q"], "commands": ["search.action.focusNextSearchResult"]},
{"before": ["[", "q"], "commands": ["search.action.focusPreviousSearchResult"]},
{"before": ["K"], "commands": ["editor.action.showHover"]},
{"before": ["g", "r"], "commands": ["workbench.action.previousEditor"]},
{"before": ["[", "g"], "commands": ["editor.action.marker.prevInFiles"]},
{"before": ["]", "g"], "commands": ["editor.action.marker.nextInFiles"]},
{"before": ["[", "b"], "commands": ["workbench.action.previousEditor"]},
{"before": ["]", "b"], "commands": ["workbench.action.nextEditor"]},
{"before": ["[", "f"], "commands": ["workbench.view.explorer", "list.focusUp", "explorer.openAndPassFocus"]},
{"before": ["]", "f"], "commands": ["workbench.view.explorer", "list.focusDown", "explorer.openAndPassFocus"]},
{ "before": [ "[", " " ], "after": [ "O", "<Esc>", "j", "0" ] },
{ "before": [ "]", " " ], "after": [ "o", "<Esc>", "k", "0" ] },
{ "before": [ "]", "c" ], "commands": [ "editor.action.dirtydiff.next" ] },
{ "before": [ "[", "c" ], "commands": [ "editor.action.dirtydiff.previous" ] },
{ "before": [ "]", "c" ], "commands": [ "workbench.action.compareEditor.nextChange" ] },
{ "before": [ "[", "c" ], "commands": [ "workbench.action.compareEditor.previousChange" ] }
],
"vim.visualModeKeyBindings": [
{
"before": [ "]", "e" ],
"commands": [ "editor.action.moveLinesDownAction" ]
},
{
"before": [ "[", "e" ],
"commands": [ "editor.action.moveLinesUpAction" ]
}
],
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment