forcing python mode in vim

To force the python mode for a file, add the following comment at the beginning:

# -*- mode: python -*-

It's also possible to add other options as well. Unfortunately, I don't remember the term for such comment, so I can't find its descrition in the vim documentation.

Categories: python

Updated: