aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-04 01:27:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-04 01:27:33 +1200
commit2a8a894dbd0f0bb86f7de687830e10ac8f76e028 (patch)
tree623959b355845bee0ebe02320349e8869c5caf49 /vim/after
parent4c8347a6ad4d2c8aa5da07b37f3229f4f5513981 (diff)
downloaddotfiles-2a8a894dbd0f0bb86f7de687830e10ac8f76e028.tar.gz
dotfiles-2a8a894dbd0f0bb86f7de687830e10ac8f76e028.zip
Use :nnoremap for Perl vim maps
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/perl.vim6
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'