kfly8 / perl-local-lib-path.vim

perl-local-lib-path is a helper for vim path

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perl-local-lib-path

perl-local-lib-path is a helper that sets vim path for your perl project.

It automatically sets vim path to local lib directories like extlib and local/perl5/lib installed into your project by carton and local::lib.

For example, it enables you to move between files by typing gf on cursor with module name.

use Class::Accessor::*Lite;

use parent qw(Hatena*::Mackerel::Model);

* is a cursor position and type gf.

Usage

You can set your paths via g:perl_local_lib_path. perl-local-lib-paths has lib, extlib, local/lib/perl5, local/lib/perl5/${archname}.

Example

g:perl_local_lib_path = "vendor/lib"
autocmd FileType perl PerlLocalLibPath

About

perl-local-lib-path is a helper for vim path


Languages

Language:Vim Script 100.0%