From 3f586a3d48bb04ef9206a202235b54cfcec38859 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 3 Nov 2017 20:35:23 +1300 Subject: Use / correctly in Vim config From ":help ": > In a global plugin should be used and in a filetype plugin > . "mapleader" and "maplocalleader" can be equal. --- 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 dad2ce35..53341183 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -1,6 +1,6 @@ " Run perl -c on file for the current buffer -nnoremap pc :exe "!perl -c " . shellescape(expand("%")) +nnoremap pc :exe "!perl -c " . shellescape(expand("%")) " Run perlcritic on the file for the current buffer -nnoremap pl :exe "!perlcritic " . shellescape(expand("%")) +nnoremap pl :exe "!perlcritic " . shellescape(expand("%")) " Run the current buffer through perltidy -nnoremap pt :%!perltidy +nnoremap pt :%!perltidy -- cgit v1.2.3