> -----Original Message----- > From: jagpreet [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 11, 2006 12:51 AM > To: Vim mailing list > Subject: RE: $VIMRUNTIME > > Thanks Yakov. > > Well I'll try as suggested. > Please do let me know if I need to add anylines to .vimrc > file to get these > scripts(inside .vim) activated. Also, Please update me if I > need to copy the > scripts already present in VIMRUNTIME to my local directory > structure inside > .vim. > > Also, as I saw in the VIMRUNTIME path there are lots of > directories and each > directory is contaning scripts. e.g. Syntax. > Does these scripts gets activated when I open any file in vim > or I need to > give any command in .vimrc file to do the same. > > ~regards~ > jagpreet > > > > -----Original Message----- > From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: Monday, April 10, 2006 7:32 PM > To: [EMAIL PROTECTED] > Cc: Vim mailing list > Subject: Re: $VIMRUNTIME > > On 4/10/06, jagpreet <[EMAIL PROTECTED]> wrote: > > I just access to my home directory and don't have any > access at all to > > the folders where vim is installed. /usr/share/vim/* > > > > Also, I downloaded some utility scripts from the site and > want to use it. > > But for that I need to put the .vim scripts in $VIMRUNTIME directory > > structure as specified in the scripts installation. > > I don't have permission to write to those directories. > > Those installation instructions are wrong. *Don't* put anything > into global $VIMRUNTIME. Do as follows. Create directory > $HOME/.vim/plugin > (or $HOME/.vim/syntax $HOME/.vim/colors etc) and put new script under > $HOME/.vim/something. The "runtime" command will pick it from there > just as well as if it were under global vimruntime. If you look > attentively at the default value of 'set runtimepath?', > you'll see that > it already contains $HOME/.vim. > > > " let $VIMRUNTIME = <new path>; " > Don't do it. Just do what I described above, it's enough.
Unfortunately, this is not a good solution for some. Specifically, for those of us who work in unix-unfriendly environments, $HOME cannot be expected to remain constant. Some tools (e.g., the "Toolset" mentioned on the "Vim job board?" thread) modify things like $HOME and even mount point for root directory whenever they run. This is one of the reasons I prefer use of VIMINIT, as it is unlikely that any other tool will modify it... Brett Stahlman > > Yakov > > >
