Ensure the right Vim filetype is set for everything.
Factor out the control codes.