Incidentally does anyone know what Linus Torvalds uses as his default text editor when hacking the kernel (despite him saying he almost never codes in recent years)?

He uses his own fork of microemacs: https://github.com/torvalds/uemacs

Or at least he used to.