Skip to content

Instantly share code, notes, and snippets.

@fasterthanlime
Created May 16, 2020 10:09
Show Gist options
  • Save fasterthanlime/1ffd27a68cc068c51e3ecaa5d31b23dd to your computer and use it in GitHub Desktop.
Save fasterthanlime/1ffd27a68cc068c51e3ecaa5d31b23dd to your computer and use it in GitHub Desktop.
fasterthanlime's vim-specific VSCode settings @ May 16 2020
{
"vim.handleKeys": {
"<C-t>": false
},
"vim.leader": "\\",
"vim.normalModeKeyBindings": [
{
"before": ["j"],
"after": ["g", "j"]
},
{
"before": ["k"],
"after": ["g", "k"]
},
{
"before": ["t", "j"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["t", "k"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["t", "w"],
"commands": ["workbench.action.closeActiveEditor"]
},
{
"before": ["<leader>", "z"],
"commands": ["workbench.action.toggleZenMode"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "d"],
"commands": ["editor.action.showHover"]
},
{
"before": ["<leader>", "t"],
"commands": ["editor.action.peekTypeDefinition"]
},
{
"before": ["<leader>", "g"],
"commands": ["editor.action.revealDefinition"]
},
{
"before": ["<leader>", "c"],
"commands": ["rust-analyzer.run"]
},
{
"before": ["<c-j>"],
"commands": ["editor.action.marker.nextInFiles"]
},
{
"before": ["<c-k>"],
"commands": ["editor.action.marker.prevInFiles"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment