Force redactor to only display HTML editor view
I don’t think it’s possible at all and what’s the benefit of using a WYSIWYG field at all when you don’t use any of the features.

I’d rather use a plain text field or even better, a field type which is optimized for code editing like the Simple Text field type.

https://github.com/craftcms/simple-text/tree/v1