Change Vim configurable based on filetype

Posted by dwwkelly on Server Fault See other posts from Server Fault or by dwwkelly
Published on 2010-03-26T19:47:24Z Indexed on 2010/03/26 19:53 UTC
Read the original article Hit count: 284

Filed under:

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.

© Server Fault or respective owner

Related posts about vim