Errors on CreateNewFile (Ctrl-y) #323

itaine opened this Issue Dec 3, 2012 · 1 comment


None yet
2 participants

itaine commented Dec 3, 2012

I get the following when creating a new file:

Error detected while processing function 102_CreateNewFile..102_insertcache:
line 2:
E684: list index out of range: 0
E116: Invalid arguments for function strlen(data[0])
E15: Invalid expression: strlen(str) <= strlen(data[0])
line 13:

Just started happening so Its likely from a recent change.

@kien kien closed this in 5b98c74 Dec 4, 2012


kien commented Dec 4, 2012

Fixed. Thank you for reporting! This bug had been there pretty much since the beginning I think. It happened when :cd into an empty directory then open ctrlp and use <c-y> to create a new file (or some sub dirs and a new file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment