From 669b695d8f8663f4c1bc8514e0738e2963b66167 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 25 Jun 2018 09:00:52 +1200 Subject: Move all local bindings out into .vimrc This is the natural way of things, I think. --- vim/after/ftplugin/perl/check.vim | 9 --------- vim/after/ftplugin/perl/lint.vim | 9 --------- vim/after/ftplugin/perl/tidy.vim | 9 --------- 3 files changed, 27 deletions(-) (limited to 'vim/after/ftplugin/perl') diff --git a/vim/after/ftplugin/perl/check.vim b/vim/after/ftplugin/perl/check.vim index f6f99f08..c810c91f 100644 --- a/vim/after/ftplugin/perl/check.vim +++ b/vim/after/ftplugin/perl/check.vim @@ -26,12 +26,3 @@ nnoremap \ :call compiler#Make('perl') let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap PerlCheck' - -" If there isn't a key mapping already, use a default one -if !hasmapto('PerlCheck') - nmap - \ c - \ PerlCheck - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap c' -endif diff --git a/vim/after/ftplugin/perl/lint.vim b/vim/after/ftplugin/perl/lint.vim index eaa6684c..86741f79 100644 --- a/vim/after/ftplugin/perl/lint.vim +++ b/vim/after/ftplugin/perl/lint.vim @@ -26,12 +26,3 @@ nnoremap \ :call compiler#Make('perlcritic') let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap PerlLint' - -" If there isn't a key mapping already, use a default one -if !hasmapto('PerlLint') - nmap - \ l - \ PerlLint - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap l' -endif diff --git a/vim/after/ftplugin/perl/tidy.vim b/vim/after/ftplugin/perl/tidy.vim index 64f0eda2..c815aba9 100644 --- a/vim/after/ftplugin/perl/tidy.vim +++ b/vim/after/ftplugin/perl/tidy.vim @@ -26,12 +26,3 @@ nnoremap \ :call filter#Stable('perltidy') let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap PerlTidy' - -" If there isn't a key mapping already, use a default one -if !hasmapto('PerlTidy') - nmap - \ t - \ PerlTidy - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap t' -endif -- cgit v1.2.3