Tags Updater : Simple tags automatic updater
script karma |
Rating 9/3,
Downloaded by 1270 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
fanhe |
|
script type |
utility |
|
description |
This script is a very simple utility to help you to update tags automatically.
It will update the tags after saving a file.
DEPENDING:
* ctags
* sed
* grep
USAGE:
$ ctags -R
$ vim <file> # now tags will update automatically
OPTIONS:
g:tags_updater_update_exist integer (default 0)
If not 0, Tags Updater only updates tags of file which the file is
already in tags file
g:tags_updater_ctags_program string (default 'ctags')
The ctags program.
LIMITATION:
If g:tags_updater_update_exist is 0, the file under directory of tags will
be updated. For example, case 1 will not be updated and case 2 will be.
case 1:
dir
|-- a
| `-- tags
`-- file
case 2:
dir
|-- a
| `-- file
`-- tags |
|
install details |
Put the .vim file to ~/.vim/plugin or corresponding directory on Windows.
NOTE: If you are on Windows, grep and sed programs are needed in your PATH. Download them from http://gnuwin32.sourceforge.net/ and and to you PATH environment variable. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.14.83
|