aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/perl.vim
blob: e06bf467be10dec19924d75fbe927dc301cc0788 (plain) (blame)
1
2
3
4
5
6
7
" 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>