diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-25 09:00:52 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-25 09:00:52 +1200 |
commit | 669b695d8f8663f4c1bc8514e0738e2963b66167 (patch) | |
tree | 15b1f7119bd198d810b312bc6f194ab12d489e19 /vim/after/ftplugin/perl | |
parent | Correct .vimrc comment (diff) | |
download | dotfiles-669b695d8f8663f4c1bc8514e0738e2963b66167.tar.gz dotfiles-669b695d8f8663f4c1bc8514e0738e2963b66167.zip |
Move all local bindings out into .vimrc
This is the natural way of things, I think.
Diffstat (limited to 'vim/after/ftplugin/perl')
-rw-r--r-- | vim/after/ftplugin/perl/check.vim | 9 | ||||
-rw-r--r-- | vim/after/ftplugin/perl/lint.vim | 9 | ||||
-rw-r--r-- | vim/after/ftplugin/perl/tidy.vim | 9 |
3 files changed, 0 insertions, 27 deletions
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 <buffer> <silent> <unique> \ :<C-U>call compiler#Make('perl')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>PerlCheck' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>PerlCheck') - nmap <buffer> <unique> - \ <LocalLeader>c - \ <Plug>PerlCheck - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>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 <buffer> <silent> <unique> \ :<C-U>call compiler#Make('perlcritic')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>PerlLint' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>PerlLint') - nmap <buffer> <unique> - \ <LocalLeader>l - \ <Plug>PerlLint - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>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 <buffer> <silent> <unique> \ :<C-U>call filter#Stable('perltidy')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>PerlTidy' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>PerlTidy') - nmap <buffer> <unique> - \ <LocalLeader>t - \ <Plug>PerlTidy - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>t' -endif |