gh config set editor 'code --wait'
Category: GitHub CLI
Set VS Code as the editor for gh (e.g. PR body editing)