Update vim settings.

Add comment that "set nocompatible" must be first setting. Add file type detection and language-dependent indenting.