gregsexton / gitv

gitk for Vim.
936 stars 59 forks source link

gitv throws error E472 in s:setcwd() with autochdir command #79

Closed Konfekt closed 7 years ago

Konfekt commented 10 years ago

If using the following autocmd to change the current work dir to the one of the current buffer

autocmd BufEnter * lcd %:p:h

then gitv throws the error E472.

rbong commented 7 years ago

This comes from the preview window. Try

autocmd FileType gitv lcd %:p:h