On 2006-12-27, Kamaraju Kusumanchi <[EMAIL PROTECTED]> wrote:
> On Wednesday 27 December 2006 02:06, A.J.Mechelynck wrote:
> >
> > see ":help matchit-install"
> >
> > As an alternative to copying the files, you may want to add a pair of
> > softlinks (untested):
> >
> > ~/.vim/plugin/matchit.vim ->
> > /usr/local/share/vim/vim70/macros/matchit.vim
> > ~/.vim/doc/matchit.txt -> /usr/local/share/vim/vim70/macros/matchit.txt
> >
> >
>
> This is not working for some reason. I have
>
> $ls -l .vim/plugin/ .vim/doc
> .vim/doc:
> total 0
> lrwxrwxrwx 1 raju xxxxxxx 45 Dec 27 19:06 matchit.txt ->
> myroot/usr/share/vim/vim70/macros/matchit.txt
>
> .vim/plugin/:
> total 0
> lrwxrwxrwx 1 raju xxxxxxx 45 Dec 27 19:06 matchit.vim ->
> myroot/usr/share/vim/vim70/macros/matchit.vim
>
> Even then matchit is not working. However if I add
>
> source ~/myroot/usr/share/vim/vim70/macros/matchit.vim
>
> to .vimrc directly then it is working fine.
I think your symbolic links were incorrectly constructed. The
target file names beginning with "myroot/usr/..." are relative path
names; they should be absolute path names in this case. Try this:
ln -sf ~/myroot/usr/share/vim/vim70/macros/matchit.txt ~/.vim/doc
ln -sf ~/myroot/usr/share/vim/vim70/macros/matchit.vim ~/.vim/plugin
HTH,
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
| Spokane, Washington, USA