The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bash::Completion::Plugins::VimTag - Bash completion plugin for tags generated by Vim::Tag

VERSION

version 1.110690

DESCRIPTION

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.

METHODS

should_activate

Says that this plugin should activate if ptags is in the path.

generate_bash_setup

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.

complete

Takes a request and returns possible candidates from the file specified by $ENV{PTAGSFILE}.

PLANS

  • Completing only on vit and expecting it to be a bash alias for vi -t is too restrictive.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

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.

AVAILABILITY

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.

AUTHOR

Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

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.