glab config set editor code --host gitlab.example.com

Category: GitLab

glab config set editor code --host gitlab.example.com

Assign an editor for one GitLab host

Sets which editor glab opens for merge request and issue descriptions, scoped to the gitlab.example.com host with --host. The value code launches VS Code; other hosts keep their own settings. Without --host the change applies to the active host.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.