I'm trying to remap ':w' to 'zz' in vscode vim. I've made 2 attempts, (one commented out). So far its not working. How can I perform this remap?
"vim.commandLineModeKeyBindings": [
{
"before": [":","w"],
"after": ["z", "z"]
// "before": ["z", "z"],
// "after": [":","w"]
},
]
You should be able to use the following to map zz
to the save
action:
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["z", "z"],
"commands": [
":w"
]
}
]