aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
blob: 2ea4676bf87e5dd70628a7afcad50c9a5e660699 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
" Run `perl -c` over buffer
nnoremap <buffer> <silent> <LocalLeader>c
      \ :write !perl -c<CR>

" Run `perlcritic` over buffer
nnoremap <buffer> <silent> <LocalLeader>l
      \ :write !perlcritic<CR>

" Filter buffer through `perltidy`
nnoremap <buffer> <silent> <LocalLeader>t
      \ :%!perltidy<CR>