Skip to content

How do I get VSCode Vim Extension to Control VSCode Keybindings? #8172

Answered by Acumane
Maxed0utt asked this question in Q&A
Discussion options

You must be logged in to vote

Not entirely sure what you're trying to bind, but try using "commands" instead of "after" to trigger events in VSCode. For example:

"vim.normalModeKeyBindings": [{
    "before": ["t"],
    "commands": ["workbench.action.togglePanel"],
    "silent": true
}]

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Maxed0utt
Comment options

@Acumane
Comment options

Answer selected by J-Fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants