> They're symlinked:

I had a bad feeling you'd say that. There goes the easy and obvious
solution!

> mich...@wladimir:~ :-) ls -ld .vim*
> lrwxrwxrwx 1 michael Kein   11 Aug 11  2007 .vim -> config/.vim
> -rw------- 1 michael Kein 8324 Dec 14 21:42 .viminfo
> lrwxrwxrwx 1 michael Kein   13 Feb 22  2006 .vimrc -> config/.vimrc

I'm curious, though, what happened to the repos5ak path component? Is
~/config a symlink too or something?

> To Cygwin applications, these are symlinks. The Windows Vim, however,
> can't work with the shortcut file; it needs the real path, so that's
> what I feed it.

Yep, understood, and glad you've got that subtlety under control too.

>> Can you manually check the values of all the relevant options and
>> variables are as you expect after starting Vim in both cases?:
>>
>> :echo $HOME
>> :echo $VIM
>> :echo $VIMRUNTIME
>> :echo &rtp
> 
> For Cygwin:
> 
> /home/michael
> /usr/share/vim
> /usr/share/vim/vim71
> /home/michael/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim71,/usr/share/vim/vimfiles/after,/home/michael/.vim/after
> 
> And for Windows:
> 
> C:\Dokumente und Einstellungen\michael
> C:\Programme\Vim
> C:\Programme\Vim\vim72
> C:/cygwin/home/michael/repos5ak/config/.vim,C:\Programme\Vim\vim72

Yep. Well that's all as we expect, too.

> Of course, I can simply do the following:
> 
> M:\ :: md vimfiles
> M:\ :: copy y:repos5ak\config\.vim\filetype.vim vimfiles
>         1 Datei(en) kopiert.
> 
> This works, of course. But I have this stupid obstination to find a
> non-kludgy solution, and failing to do so myself, I came here.

I have the same stubbornness. It *should* work, without kludges, and
therefore ease maintenance.

I'll try to fire up Windows a bit later and see if I can reproduce the
problem, and then I'll write back again with some more ideas.

Ben.




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to