" Vim filetype plugin file " " Language : Perl " Plugin : perl-support.vim " Maintainer : Fritz Mehner " " ---------------------------------------------------------------------------- " " Only do this when not done yet for this buffer " if exists("b:did_POD_ftplugin") finish endif let b:did_POD_ftplugin = 1 " " ---------- tabulator / shiftwidth ------------------------------------------ " Set tabulator and shift width to 4 conforming to the Perl Style Guide. " Uncomment the next two lines to force these settings for all files with " filetype 'perl' . " setlocal tabstop=4 setlocal shiftwidth=4 " " ---------- Add ':' to the keyword characters ------------------------------- " Tokens like 'File::Find' are recognized as " one keyword " setlocal iskeyword+=: " " ---------- Set "maplocalleader" as configured using "g:Perl_MapLeader" ----- " call Perl_SetMapLeader () " " ---------- Maps for the Make tool ------------------------------------------ " noremap rm :Make inoremap rm :Make noremap rmc :Make clean inoremap rmc :Make clean noremap rma :MakeCmdlineArgs inoremap rma :MakeCmdlineArgs noremap rcm :MakeFile inoremap rcm :MakeFile " " ---------- Reset "maplocalleader" ------------------------------------------ " call Perl_ResetMapLeader () "