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
.
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