my $comp = new Vim::Snippet::Completion; $comp->gen({ output => 'vim_completion', list => \@keyword_list , opt => 'new', }); $comp->gen({ output => 'vim_completion', list => \@keyword_list , opt => 'append', }); $comp->setup_dict({ file => '~/vim_completion', vimrc => '~/.vimrc' , });
To install Vim::Snippet::Converter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Vim::Snippet::Converter
CPAN shell
perl -MCPAN -e shell install Vim::Snippet::Converter
For more information on module installation, please visit the detailed CPAN module installation guide.