1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
Vim Scripts
===========
These scripts are little add-ons to Vim, the famous text editor. Vim
features a rich scripting language, and is thus quite extensible. Simply drop
the scripts in appropriate directories, and you've got added functionality.
Most scripts will only work with Vim 6. Some of them also work with an older
version, but perhaps not as good.
How to use
----------
These scripts are meant for Vim 6. They mainly don't work quite as expected in
older versions. The colorschemes work, they give warnings, but they work.
cvsmenu.vim is reported to work,
For Vim 6, just put the scripts in the appropriate directory by copying or -
even better - linking them. Appropriate means the the right subdirectory of
either the global ($VIMRUNTIME, usually something like /usr/share/vim/vim60)
or your personal (~/.vim) Vim runtime directory. Ie, put the script
ftplugin/po.vim into either /usr/share/vim/vim60/ftplugin or ~/.vim/ftplugin.
The scripts
-----------
This is a short overview of all the scripts in this package. Some contain
their own documentation alongside in on of the documention directories; some are
so simple they don't need any documentation; some need documentation but don't
have any anyway...
There are several sub directories such as plugin, ftplugin, colors and doc
which mirror the structure of other Vim directories. The directory called "doc"
has documentation in vim format, "documentation" contains some addtional files
in other formats.
If not mentioned, the script was downloaded from vim.sf.net, the official web
site. That's a great place, go look for other goodies.
closetag.vim
Author: Steven Mueller <diffusor@ugcs.caltech.edu>
Functions and mappings to close open HTML/XML tags on a single keypress.
Hitting ctrl-_ will initiate a search for the most recent open tag above
that is not closed in the intervening space and then insert the matching
close tag at the cursor.
ftplugin/html.vim
Author: Michael Geddes <michaelrgeddes@optushome.com.au>
Enhancement for editing HTML files. Press <M-1> to get "<h1>", press it
again to get the closing "</h1>", and so on for dozens of tags. Also has
a "close all tags" command, and will automatically close inner tags
you've forgot whenever you close the outer tag.
ftplugin/po.vim
Author: Michael Piefel <piefel@informatik.hu-berlin.de>
Useful menu entries for editing PO files. You can remove the quotes
around a translation to edit it, and add them again later. Find the next
translation you have to work on, and send the result directly to the
translation project.
ftplugin/tex/auctex.vim
Author: Carl Mueller <cmlr@math.rochester.edu>
This is a large collection of Latex macros, with inspiration from the
emacs package "auctex", among other places.
plugin/a.vim
Author: Michael Sharpe <feline@irendi.com>
Adds a command (:A and :AS) to open a new buffer by looking at the
extension of the current buffer and finding the corresponding file. For
example foo.c <--> foo.h
plugin/Align.vim
Author: Johannes Zellner <johannes@zellner.org>
Adds commands and mappings (for visual mode) to align the text on
arbitrary delimiters. <Leader>f for the first, l and a for the last and
for all, respectively.
plugin/bufexplorer.vim
Author: Jeff Lanzarotta <frizbeefanatic@yahoo.com>
This adds a buffer explorer similar to the file explorer. Use the
commands (:BufExplorer and :SBufExplorer) or the keybindings (<Leader>be
and <Leader>bs, where <Leader> is usually '\' (backslash)).
plugin/Chdir.vim
Author: Johannes Zellner <johannes@zellner.org>
This plugin will make your current working directory the same directory
as the file you are editing is in (standard for some other editors).
plugin/cvsmenu.vim
Author: Thorsten Maerz <info@netztorte.de>
Usefile menu entries for CVS management. Offers almost everything CVS
can do, to look like WinCVS and such.
plugin/info.vim
Author: Slavik Gorbanyov <rnd@web-drive.ru>
Don't want an Emacs-like info browser? Read info in Vim! This script
adds a command Info to read info documents.
plugin/Page.vim
Author: Johannes Zellner <johannes@zellner.org>
Adds a :Page command which will put the output of a command into a
temporary buffer, eg. :Page syn.
plugin/whatdomain.vim
Author: Michael Piefel <piefel@informatik.hu-berlin.de>
A little command WhatDomain just to let you know what a certain TLD
means, like "What was .tv after all? - Tuvalu, of course."
colors/borland.vim
Author: Yegappan Lakshmanan
Color settings similar to that used in Borland IDE's.
colors/desert.vim
Author: Hans Fugal <hans@fugal.net>
A theme inspired by the author's home town of Santa Fe, New Mexico.
colors/emacs.vim
Author: Michael Piefel <piefel@informatik.hu-berlin.de>
When your Emacs-using friend are puzzled when they look over your
shoulder, use this colorscheme so that the colors look just a bit like
the Emacs colors.
games/TeTrIs.vim
Author: Gergely Kontra <kgergely@mcl.hu>
A vimmer said it is impossible. Now, here is it!
games/VimSokoban/sokoban.vim
Author: Michael Sharpe <feline@irendi.com>
Well, Sokoban. Remember to set the g:SokobanLevelDirectory or
$VIMSOKOBANDIR variable to the directory containing the levels.
Copyright and Licence
---------------------
The scripts in this collection have different copyright holders and different
licences. When not said otherwise, they are in the public domain.
This collection (as a collection, with this README file) is also in the public
domain. Use it in whatever way you wish.
vim-scripts version 4
M. Piefel, February 2002
vim:tw=80
|