mk_vim_complete - Gather Perl identifiers for vim's autocompletion
mk_vim_complete -f ~/.vimcomplete -v --dir /path/to/my/working/dir
All is explained in the documentation of the command-line options.
The filename where the gathered list of identifiers should be written to. You need to tell vim about this file; see Vim::Complete for details.
This option can be given several times. The directories are added to the list of directories in which to look for module files.
The minimum length of identifiers that should be reported. It doesn't make sense to set this to 1; even setting it to 2 would likely produce so many identifers that the autocompletion mechanism is thrown off because you will have to cycle through too many identifiers. So the default minimum length is 3.
By default, the directories included in @INC - with the exception of ., which denotes the current directory - are searched, so identifiers from all installed modules are gathered. You can turn this behaviour off by specifying this option. If you do, you need to specify at least one --dir option.
@INC
.
--dir
Be more verbose.
Show this documentation.
To install Vim::Complete, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Vim::Complete
CPAN shell
perl -MCPAN -e shell install Vim::Complete
For more information on module installation, please visit the detailed CPAN module installation guide.