The "editor" setting:

The value is an external command that will launch the
text editor command used for check-in comments.