From d15ff8af1c4e23fcd33acf70d68893195668b824 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 23 Nov 2019 19:35:33 -0500 Subject: [PATCH] Describe the issue with Cygwin Vim and Windows Git --- faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/faq.md b/faq.md index 693e60d..03a4f62 100644 --- a/faq.md +++ b/faq.md @@ -217,7 +217,11 @@ REG QUERY "HKLM\Software\Microsoft\Command Processor" /v AutoRun ### Filepath issues with Cygwin/MinGW Vim and Windows Git +Windows Git must be upgraded to support mixed paths (ie. `C:/Users/foo/.vim/plugged`). +Modify your vimrc to use `g:plug_home` instead of passing a filepath to `plug#begin` so that vim-plug does not convert it back to Unix paths (ie. `/home/foo/.vim/plugged`) and break when passing filepaths to Windows Git. + ```vim +let g:plug_home = '~/.vim/plugged' if has('win32unix') \ && executable('cygpath') \ && executable('git')