My plugins in my dir (~/.vim/plugin) are not working.
After looking for help , I tried to look for what is 'runtimepath'
The "set rtp" returned me following -
I do not in which file these paths are set. Mostly because of this problem only the plugins are not working.
----- Original Message -----
From: "R. shankar" <[hidden email]>
To: <[hidden email]>
Sent: Monday, August 22, 2005 1:36 PM
Subject: In which file is the runtimepath set.
> My plugins in my dir (~/.vim/plugin) are not working.
> After looking for help , I tried to look for what is 'runtimepath'
> The "set rtp" returned me following -
> I do not in which file these paths are set. Mostly because of this problem
> only the plugins are not working.
Try ":verbose set runtimepath?"
Normally 'runtimepath' is set at compile-time. In that case ":verbose" won't
tell you where it was set, and the base directories of the various "runtime
trees" are as follows (on Unix):
for full-fledged scripts paticular to one user
for full-fledged scripts common to all users on a single system
for whatever was distributed together with Vim. Don't change any
file in this tree, because the next upgrade (or the one after that) might
silently overwrite your changes.
for small system-wide customizations to any or all of the above
for small single-user customizations to any or all of the above
Usually, only $VIMRUNTIME has all the "possible" subdirectories. The
corresponding subdirectories can be created in the other trees on an
$VIMRUNTIME is best not set in the environment, unless it resides at an
unusual place. For version 6.3, Vim can find it if it is equivalent to, say,
$VIM may or may not be set outside Vim. In your case it probably should be
set to "/tool/gnu/vim/Linux/6.3/share/vim" without the quotes. Your global
plugins should be in $VIM/vimfiles/plugin, $VIM/vim63/plugin and
$HOME/.vim/plugin; your colorschemes in $VIM/vimfiles/colors,
$VIM/vim63/colors and $HOME/.vim/colors; etc.
To check if $VIM is set, do
in your shell or in Vim. If it is not set, or if it is set wrongly, you can
export VIM = '/tool/gnu/vim/Linux/6.3/share/vim'
to one of your bash startup scripts such as /etc/profile or ~/.profile