I'm running into a bit of a strange problem w/
vim on Snow Leopard: I get a non-zero exit code from simply running
vim and then quitting.
$ vim # exit immediately using :q $ echo $? 1
However, if I use the full path to
vim, I don't see this behavior
$ /usr/bin/vim # exit immediately using :q $ echo $? 0
At first I thought
vim was coming from somewhere earlier in my path, but:
$ which vim /usr/bin/vim
So I'm at a loss. What could be causing this?
UPDATE: This problem has magically resolved itself, which makes me highly suspicious. My current best theory is that I had a problem with my
.vimrc or a plugin that I fixed accidentally while tweaking my setup in some other way. If I can track down exactly what I did to fix it, I will definitely update with that info. Thanks for the answers.