Closed miffe closed 11 years ago
let x = tempname()
call writefile( ["test"], x)
echom x
Can you write that to test.vim file, then :source test.vim Then try opening the file which was printed at the bottom, does this work? It looks to me that you have an issue with your /tmp directory?
Can you update an addon after restarting vim? You can use :UpdateAddons The_NERD_Commenter to update one plugin only
let x = tempname() call writefile( ["test"], x) echom x Can you write that to test.vim file, then :source test.vim Then try opening the file which was printed at the bottom, does this work?
It prints /tmp/vMgICo2/0, which when i open it contains test
Can you update an addon after restarting vim? You can use :UpdateAddons The_NERD_Commenter to update one plugin only.
Restarting vim doesn't help and neither does updating only one addon. A reboot doesn't help either.
Oh, found the cause. I'm using fish as shell. A simple set shell=/bin/sh in vim fixes v-a-m for me.
When trying to update my addons, i get the following log. The /tmp/vDmL2bp directory gets created and I can write to it, but no files get created there.