Using neovim extension not vim one
Check this link: https://github.com/vscode-neovim/vscode-neovim/pull/1917
TLDR: Put this in settings.json
"vscode-neovim.compositeKeys": {
"jj": {
"command": "vscode-neovim.escape"
}
},
Enjoy!!