motemen / git-vim

My vim files for Git
575 stars 73 forks source link

MacVim git-vim compatibility issues #20

Open nathanieles opened 13 years ago

nathanieles commented 13 years ago

All of the git commands seem to work well for me if I open up the file through the terminal, but if I open up the file through MacVim and try to run the same commands I run into issues. It would tell me that the file is "Not a git repository (or any of the parent directories): .git", even though the directory in which the file is in has a .git file.

Anyone else having this issue?

rjyo commented 13 years ago

same here.

jeremyll commented 12 years ago

same.

waldman commented 12 years ago

Same here... any fix?

waldman commented 12 years ago

Hi, Just found a fix for it.

The Issue was that MacVim was not set to auto change the working directory to the same as the file that is currently on the buffer.

Adding the following to the .vimrc fixes it: set autochdir

:)

scys77 commented 12 years ago

@waldman , worked for me, thanks!