aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 13:51:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 13:51:32 +1300
commit6a5c86738c85296e0b8393dac7ce58285fa85149 (patch)
treeca323b430dbbcca42bc8e0e0f1971f33a5ad6fbc /vim/ftplugin/perl.vim
parent6552de5accb651a5c0436bb77e97cffd93c6a72b (diff)
downloaddotfiles-6a5c86738c85296e0b8393dac7ce58285fa85149.tar.gz
dotfiles-6a5c86738c85296e0b8393dac7ce58285fa85149.zip
Use "nunmap" not "unmap" for b:undo_* var
We only want to remove the normal mode mapping, since that's all we set.
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r--vim/ftplugin/perl.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 0db8d1ab..c18653d2 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -15,6 +15,6 @@ nnoremap <buffer> <silent>
" Unload this filetype plugin
let l:undo_user_ftplugin
- \ = 'silent! unmap <LocalLeader>c'
- \ . '|silent! unmap <LocalLeader>l'
- \ . '|silent! unmap <LocalLeader>t'
+ \ = 'silent! nunmap <LocalLeader>c'
+ \ . '|silent! nunmap <LocalLeader>l'
+ \ . '|silent! nunmap <LocalLeader>t'