Hi,

I recently switched to pathogen-style configuration, which meant updating 
latex-suite, and my configuration files. Now, I'm having problem with MacVim in 
GUI mode (command line version of vim works without problems).

Whenever I try to open .tex file from command line ('mvim paper.tex'), MacVim 
window opens, completely empty. It seems as it hangs, but there is no increased 
CPU usage. I can kill the application with Cmd+Q, but Vim process remains in 
memory:

$ ps aux|grep Vim
knezevic  6481   0.4  0.8  2632732  16380   p0  Ss+   1:09AM   0:01.55 
/Users/knezevic/Applications/MacVim.app/Contents/MacOS/Vim -f -g paper.tex

If I start mvim without any configuration, all is fine. If I skip just .vimrc, 
again, all is fine.

I traced the problem down to the combination of VCScommand and Latex-Suite. The 
problem occurs whenever this line is present, and I'm opening .tex file from 
command line:
let VCSCommandEnableBufferSetup=1

Then, I see this process lingering around:
/bin/zsh -c ('git' rev-parse --is-inside-work-tree) 
>/var/folders/aZ/aZYa0SaaGy0cuabgeZbImU+-6cg/-Tmp-/vNVlVet/3 2>&1

The last test I tried is to open file directly from the command line, but from 
some other git repository. When I try to open README.txt from macvim's 
repository, all is fine. When I copy my *.tex files to macvim's repository, and 
try to open them, it hangs the usual way (empty window, doesn't accept input, 
no increased CPU usage).

Has anyone experienced something similar? I'm using the latest versions of 
MacVim, Latex-suite and VCSCommand.

Best,
Nikola

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to