Skip to content

Instantly share code, notes, and snippets.

@hejmsdz
Created May 6, 2021 19:11
Show Gist options
  • Save hejmsdz/b16692eae3afaaa7674f813be40377b4 to your computer and use it in GitHub Desktop.
Save hejmsdz/b16692eae3afaaa7674f813be40377b4 to your computer and use it in GitHub Desktop.
some visual studio code configuration
{
"vim.vimrc.enable": true,
"vim.vimrc.path": "~/.config/nvim/init.vim",
"vim.normalModeKeyBindings": [
{
"before": ["<leader>", "\\"],
"commands": ["workbench.files.action.showActiveFileInExplorer"],
},
{
"before": ["<leader>", "1"],
"commands": ["workbench.action.openEditorAtIndex1"],
},
{
"before": ["<leader>", "2"],
"commands": ["workbench.action.openEditorAtIndex2"],
},
{
"before": ["<leader>", "3"],
"commands": ["workbench.action.openEditorAtIndex3"],
},
{
"before": ["<leader>", "4"],
"commands": ["workbench.action.openEditorAtIndex4"],
},
{
"before": ["<leader>", "5"],
"commands": ["workbench.action.openEditorAtIndex5"],
},
{
"before": ["<leader>", "6"],
"commands": ["workbench.action.openEditorAtIndex6"],
},
{
"before": ["<leader>", "7"],
"commands": ["workbench.action.openEditorAtIndex7"],
},
{
"before": ["<leader>", "8"],
"commands": ["workbench.action.openEditorAtIndex8"],
},
{
"before": ["<leader>", "9"],
"commands": ["workbench.action.openEditorAtIndex9"],
},
],
"editor.lineNumbers": "relative",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment