Sunday, November 25, 2012

Re: set runtimepath

> The 'runtimepath' is a path to the parent directory of the subdirectories
> like plugin (where you put your plugins), ftplugin (where you put file
> type plugins), colors (for colors), etc ... You can read ":help
> 'runtimepath'".
Yes, but some special features are broken, such as loading
${RTP_ITEM}/after/plugin/*.vim files or its missing ftdetect files or such.
Its not that likely that you hit them, but some plugins use those files.
Yes - this could eventually be considered being a bug in Vim.

I personally recommend using any of vim-addon-manager, pathogen, vundle
to manage your runtimepath somewhat automatically. I personally prefer
the first cause I started the project. vim-addon-manager also manages
everything for you if you want to add pathes to runtimepath at runtime
and it'll source plugin/*.vim files for you - thus you can load plugins
only when you need them.

As Marcin said reading Vim's help is a good starting point.

How to use Vim's help efficiently:
:h *chars*<c-d>, then jump to any match which looks like containing what
you're looking for. Or helpgrep. All options are enclosed by ''. Thus to
match all options :h '*'<c-d> etc.

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment