Archive for November 1st, 2009

Changing settings / options based on filetype in Vim

If you want to change settings / options based on the filetype there are a couple of ways you can do it. Using an Autocommand You can do this with an autocmd in your vimrc. Let’s assume you want to change some of the indenting rules for perl and html. augroup indent_settings au! ...
Read more