Modeline magic

Options set in your vimrc will apply to all files that you edit. You can also set: Different options for all files of a certain type (for example, all *.py files). See filetype.vim and filetypes and an example. Different options for a particular file using modelines (this tip). Note that the 'model…