blob: 53341183efc779c5ee97128033ab2b7cc60c530d (
plain) (
blame)
1
2
3
4
5
6
|
" Run perl -c on file for the current buffer
nnoremap <LocalLeader>pc :exe "!perl -c " . shellescape(expand("%"))<CR>
" Run perlcritic on the file for the current buffer
nnoremap <LocalLeader>pl :exe "!perlcritic " . shellescape(expand("%"))<CR>
" Run the current buffer through perltidy
nnoremap <LocalLeader>pt :%!perltidy<CR>
|