diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-04 01:27:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-04 01:27:33 +1200 |
commit | 2a8a894dbd0f0bb86f7de687830e10ac8f76e028 (patch) | |
tree | 623959b355845bee0ebe02320349e8869c5caf49 /vim | |
parent | Merge branch 'release/v1.20.0' into develop (diff) | |
download | dotfiles-2a8a894dbd0f0bb86f7de687830e10ac8f76e028.tar.gz dotfiles-2a8a894dbd0f0bb86f7de687830e10ac8f76e028.zip |
Use :nnoremap for Perl vim maps
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/ftplugin/perl.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/after/ftplugin/perl.vim b/vim/after/ftplugin/perl.vim index 37cd1c08..759dc1d3 100644 --- a/vim/after/ftplugin/perl.vim +++ b/vim/after/ftplugin/perl.vim @@ -18,9 +18,9 @@ if exists('g:no_plugin_maps') || exists('g:no_perl_maps') endif " Set mappings -nmap <buffer> <LocalLeader>c :<C-U>call compiler#Make('perl')<CR> -nmap <buffer> <LocalLeader>l :<C-U>call compiler#Make('perlcritic')<CR> -nmap <buffer> <LocalLeader>t :<C-U>call filter#Stable('perltidy')<CR> +nnoremap <buffer> <LocalLeader>c :<C-U>call compiler#Make('perl')<CR> +nnoremap <buffer> <LocalLeader>l :<C-U>call compiler#Make('perlcritic')<CR> +nnoremap <buffer> <LocalLeader>t :<C-U>call filter#Stable('perltidy')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <LocalLeader>c' \ . '|nunmap <buffer> <LocalLeader>l' |