← Back to Upcase

Vim keeps on breaking when I create a new file in a directory that doesn't exist! VERY FRUSTRATING

This keeps on happening … I go to create a new file inside a directory that doesn’t exist… than I try to save that file and for some reason vim crashes… How do I get to the bottom of this??? I have included a link of whats happening so you can see it visually…

http://www.screencast.com/t/PW76aqW6

Strange. By default vim doesn’t create directories that don’t exist, but normally you should see a message saying “Can’t open file for writing”.

Try launch vim without any profile (vim -u NONE) and check if you have the same behaviour.

The behaviour isn’t available in normal vim from what I understand…

Indeed, which makes me suspect a plugin or vimrc setting is to blame.