Here's my first public plugin! If you want to use a similar feature to Vim's modelines, you might like it.

[code]import sublime, sublimeplugin

class ExecuteSublimeTextModeLinesCommand(sublimeplugin.TextCommand): """ This plugin provides a feature similar to vim modelines. Modelines set options local to the view by declaring them in the source code file itself.