From 703c63113d6e089136259ab077422b51f636309a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 4 Nov 2017 00:31:04 +1300 Subject: Make all lint/check/tidy maps local and silent That is, apply and to each of them, to make them only apply to the current buffer and to prevent them from echoing the command they're running. --- vim/ftplugin/perl.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vim/ftplugin/perl.vim') diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim index 3355227e..38c3308b 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -1,6 +1,6 @@ " Run `perl -c` over buffer -nnoremap pc :write !perl -c +nnoremap c :write !perl -c " Run `perlcritic` over buffer -nnoremap pl :write !perlcritic +nnoremap l :write !perlcritic " Filter buffer through `perltidy` -nnoremap pt :%!perltidy +nnoremap t :%!perltidy -- cgit v1.2.3