aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
blob: dad2ce355297dc064a22306c3f07394c60948482 (plain) (blame)
1
2
3
4
5
6
" Run perl -c on file for the current buffer
nnoremap <leader>pc :exe "!perl -c " . shellescape(expand("%"))<CR>
" Run perlcritic on the file for the current buffer
nnoremap <leader>pl :exe "!perlcritic " . shellescape(expand("%"))<CR>
" Run the current buffer through perltidy
nnoremap <leader>pt :%!perltidy<CR>