From ccabcefafef457e7d488ef2ee1b27b4b56e03267 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 4 Nov 2017 00:32:04 +1300 Subject: Break long lines in check/lint/tidy mappings --- vim/ftplugin/perl.vim | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'vim/ftplugin/perl.vim') diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim index 38c3308b..2ea4676b 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -1,6 +1,11 @@ " Run `perl -c` over buffer -nnoremap c :write !perl -c +nnoremap c + \ :write !perl -c + " Run `perlcritic` over buffer -nnoremap l :write !perlcritic +nnoremap l + \ :write !perlcritic + " Filter buffer through `perltidy` -nnoremap t :%!perltidy +nnoremap t + \ :%!perltidy -- cgit v1.2.3