Bash::Completion::Plugins::VimTag - Bash completion plugin for tags generated by Vim::Tag
version 1.110690
This is a Bash::Completion plugin that can complete on tags generated by the ptags program that is included in the Vim-Tag distribution. It completes on the vit command, which you can use as a bash alias for vi -t.
ptags
vit
vi -t
Says that this plugin should activate if ptags is in the path.
Defines that this plugin should be used for the vit command or bash alias.
Why does should_activate() use a different command? ptags is the program that generates the tags, but vit (alias for vi -t) is the command for which we want to complete.
should_activate()
Takes a request and returns possible candidates from the file specified by $ENV{PTAGSFILE}.
$ENV{PTAGSFILE}
Completing only on vit and expecting it to be a bash alias for vi -t is too restrictive.
See perlmodinstall for information and options on installing Perl modules.
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Bash-Completion-Plugins-VimTag.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Bash-Completion-Plugins-VimTag/.
The development version lives at http://github.com/hanekomu/Bash-Completion-Plugins-VimTag and may be cloned from git://github.com/hanekomu/Bash-Completion-Plugins-VimTag.git. Instead of sending patches, please fork this project using the standard git and github infrastructure.
Marcel Gruenauer <marcel@cpan.org>
This software is copyright (c) 2011 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bash::Completion::Plugins::VimTag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bash::Completion::Plugins::VimTag
CPAN shell
perl -MCPAN -e shell install Bash::Completion::Plugins::VimTag
For more information on module installation, please visit the detailed CPAN module installation guide.