On Jun 17, 8:17 am, Ben Badgley <[email protected]> wrote:
> How do you actually use the scripts? Is it dependent upon each script?
For ready-made scripts, it is a little dependent on the script. Most
(I think) will tell you how to install, but in general:
"Plugin" scripts often define mappings and commands to use from within
Vim accessible at any time. Simply put the .vim file(s) in $HOME/.vim/
plugin for *nix systems and $HOME/vimfiles/plugin for Windows
systems.
"Filetype plugin" scripts define mappings, commands, etc. for use for
a specific filetype. These usually go in $HOME/.vim/ftplugin or
$HOME/.vim/after/ftplugin (again, use vimfiles instead of .vim for
Windows).
New or updated syntax definitions also come in script form, and go in
$HOME/.vim/syntax
Color schemes go in $HOME/.vim/colors
There are a few other locations as well, but really the script should
tell you about them if needed. Regardless, most scripts come with (or
should come with) documentation, which should go in $HOME/.vim/doc.
After you've placed it there, go into Vim and type :helptags
$HOME/.vim/doc to allow you to use Vim's :help command with the new
documentation.
To figure out where $HOME points to, simply :echo $HOME from within
Vim.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---