Refactor filetype parts out of vimrc.