Apparently the default vim in OS X will exit 1 after editing if you try to `filetype off` before you `filetype on`.