I installed perl-support.vim into ~/.vim (unzipped). When I create a new .pl file it shows me the default template, which means my installation is successful (I guess). I have already added filetype plugin on in ~/.vimrc & /etc/vimrc.
How do I enter a perl-support command?
The write up recommends typing \isu in normal mode for creating a new sub, but the moment I hit i vim changes into insert mode and nothing intended happens.
What am I doing wrong?
Make sure you’ve enabled ftplugins with the
filetype plugin oncommand in.vimrc, and of course make sure that the file you’re editing is recognized as a Perl file (usually, by having a known extension, but you can force the matter by issuing the commandset filetype=perl. If filetype plugins aren’t enabled, or if the filetype isn’t recognized, then the rest of perl-support won’t get loaded at all.