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