Ben Schmidt schrieb am 15.12.2008 um 13:20:14 (+1100):
>
> > 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?
Yes. (I maintain come config files, like the Vim files, but also notes
and scripts in Subversion. The working copy has been ~/repos5ak for a
while now. There are convenience symlinks like ~/comp and ~/config and
others pointing into ~/repos5ak. Then, next generation of symlinks
pointing to ~/config, as seen above. I find this setup convenient and
quick to deploy on multiple machines, and Subversion allows me to keep
track of local modifications, so I can eventually integrate improvements
or bugs I may have introduced on some machine in my repository on my
home machine.)
> > 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.
Exactly. Stubbornness goes a long way, the drawback being that many a
times, it's a long way to go.
> 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.
Hey, I'm not expecting that much! You've already provided valuable
feedback.
You know what? I've just taken a shot at reversing my setup: main
configuration in the Windows %UserProfile%, Cygwin ~/.vimrc just
pointing there. Like this:
C:\ :: type cygwin\home\michael\.vimrc
source /cygdrive/c/Dokumente\ und\ Einstellungen/michael/_vimrc
And then I have %UserProfile%\_vimrc and %UserProfile%\vimfiles, the
_vimrc now featuring:
if has("unix")
set runtimepath=C:/DOKUME~1/michael/vimfiles,$VIMRUNTIME
endif
Guess what? Same story! Here's the output of ":script" from Cygwin:
1: /home/michael/.vimrc
2: /cygdrive/c/Dokumente und Einstellungen/michael/_vimrc
3: /usr/share/vim/vim71/syntax/syntax.vim
4: /usr/share/vim/vim71/syntax/synload.vim
5: /usr/share/vim/vim71/syntax/syncolor.vim
6: /usr/share/vim/vim71/filetype.vim
7: /cygdrive/c/DOKUME~1/michael/vimfiles/filetype.vim
[...]
More and more ready to try stuff bordering on superstition, I tried to
invert the setting of the runtimepath so that it should *not* work
(thinking that then, it maybe would):
if has("unix")
set runtimepath=$VIMRUNTIME,C:/DOKUME~1/michael/vimfiles
endif
But to no avail, unfortunately.
Michael Ludwig
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---