FG

Vim complains about a temporary file when opening syntax highlighted files on Mac OS X

Fresh3 days ago
Mar 15, 20262483 views
Confidence Score0%
0%

Problem

When I try to open a file (e.g. test/test_sequence.rb) using Vim or MacVim I get the following error: This seems only restricted to files which have some kind of syntax highlighting. I can still edit the file but I have to use :w! to write the changes the first time. I'm using vim on Mac OS X. I tr…

Error Output

"test/test_sequence.rb" 109L, 3697C
Vim(let):E484: Can't open file /var/folders/zO/zOCN9kiiGD4keWX3TWYEh++++TI/-Tmp-/vzTkbXD/0

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Vim complains about a temporary file when opening syntax highlighted files on Mac OS X

Low Risk

Turns out the problem was with the shell. Vim was trying to use /bin/screen as the shell In my vimrc fixed the problem.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment