diff options
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r-- | vim/ftplugin/perl.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim index c4923051..310ffe7e 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -2,9 +2,9 @@ if exists('*shellescape') " Run perl -c on file for the current buffer - nnoremap <LocalLeader>pc :exe "!perl -c " . shellescape(expand("%"))<CR> + nnoremap <LocalLeader>pc :execute "!perl -c " . shellescape(expand("%"))<CR> " Run perlcritic on the file for the current buffer - nnoremap <LocalLeader>pl :exe "!perlcritic " . shellescape(expand("%"))<CR> + nnoremap <LocalLeader>pl :execute "!perlcritic " . shellescape(expand("%"))<CR> " Run the current buffer through perltidy nnoremap <LocalLeader>pt :%!perltidy<CR> |