perl-tags-vim


Ⅰ. 插件描述

Vim plugin to use Perl::Tags to automatically generate tags files

Ⅱ. 基本信息

创建日期:  2014-04-18
使用用户:  1
Github星:  2
插件作者:  Hakim

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'osfameron/perl-tags-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'osfameron/perl-tags-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'osfameron/perl-tags-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/osfameron/perl-tags-vim

Ⅳ. 文档说明

# INSTALLATION

Using Vundle:

# add this line to .vimrc
Plugin "osfameron/perl-tags-vim"

# then run :PluginInstall

Using other package managers

TODO: confirm that installation works with Pathogen et al

Manual VIM configuration

If you haven't yet switched to a Modern VIM package manager, you can of
course copy the code from `ftplugin/perl.vim` into your Vim configuration
as appropriate!

USAGE

* open a Perl file
* use Tags as normal: <C-]>, <C-t>, g]  etc.
* :call PT_show_tags()  # view the generated tags file

NOTE

This plugin is under development. Comments from more experienced
Vim hackers are welcome, as are bug reports and pull requests.

The fatpacked dependencies have been generated and tested on Perl 5.14.2
(which is the default on the popular Debian Wheezy (stable) and Ubuntu
Precise64 Linux distributions.) Does it work on other platforms? Please
let me know!

TODO

* consider using a tagger per file-path?
* allow user to use non-fatpacked Perl::Tags or other customizations
* more documentation
* tests

添加新评论