On 18/03/11 15:55, Marco wrote:
I started using vim-addon-manager. But I have some problems using it. How do I
determine the name of the plugin I have to put into my vimrc? The following
shows some examples of plugin names on the left and the corresponding vimrc
entries on the right.
AlignPlugin Align294
minibufexpl minibufexplorer_-_Elegant_buffer_explorer
matchit matchit.zip
How can one determine the right names? Or is there an easier solution?
Marco
You shouldn't need anything in the vimrc. I don't use the first two that
you mention, but for matchit I have a one-line file named
$VIM/vimfiles/plugin/matchit.vim with the following contents:
runtime macros/matchit.vim
so it automagically sources the matchit plugin distributed with the
current version of Vim.
Similarly, any *.vim script found in the plugin/ subdirectory of a
directory listed in 'runtimepath' will be sourced at the end of startup,
without the need for any entry in your vimrc. The following locations
are typical:
$HOME/vimfiles/plugin/
on Windows only: user-private full-fledged plugins
$HOME/.vim/plugin
on Unix-like OSes including MacOsX: user-private full-fledged
plugins
$VIM/vimfiles/plugin
system-wide full-fledged plugins
$VIMRUNTIME/plugin
ONLY the plugins distributed together with Vim: DO NOT MODIFY
THEM!
$VIM/vimfiles/after/plugin
small system-wide tweaks to any of the above
$HOME/vimfiles/after/plugin (Windows only)
$HOME/.vim/after/plugin (except Windows)
small user-specific tweaks to any of the above
See :help 'runtimepath'
HTH,
Tony.
--
hundred-and-one symptoms of being an internet addict:
32. You don't know what sex three of your closest friends are, because they
have neutral nicknames and you never bothered to ask.
--
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