Change Vim configurable based on filetype
- by dwwkelly
Is there a way where I can set vim to configure itself based on the filetype? So for example, text files have the equivalent of
:set spell
:syntax off
Where a C source file has
:syntax on
:smartindent on
Thanks for any help.