aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/sh.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/sh.vim
parentRemove null command from b:undo_* variables (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/sh.vim')
-rw-r--r--vim/ftplugin/sh.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim
index 61d2994d..60e8b6c4 100644
--- a/vim/ftplugin/sh.vim
+++ b/vim/ftplugin/sh.vim
@@ -49,5 +49,5 @@ nnoremap <buffer> <silent>
let b:undo_user_ftplugin
\ = 'setlocal keywordprg<'
\ . '|unlet! b:sh_check b:sh_lint'
- \ . '|silent! unmap <LocalLeader>c'
- \ . '|silent! unmap <LocalLeader>l'
+ \ . '|silent! nunmap <LocalLeader>c'
+ \ . '|silent! nunmap <LocalLeader>l'