RT Frederic
TIL: Add this to your @code settings.json
"terminal.integrated.env.linux": {
"EDITOR": "code"
}
And this to your .(bash|zsh)rc:
[ -z "$EDITOR" ] && export EDITOR=vim
to override the default editor in your internal VS Code terminal. For macOS use "terminal.integrated.env.osx".
https://twitter.com/fhemberger/status/1493321897555206148