'Remap ':w' in VScode Vim

'

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"]
    },
]


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source