autocmd lines should be moved to the .vimrc file as per advice from spf13-vim upstream.