aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/gitcommit.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/gitcommit.vim')
-rw-r--r--vim/after/ftplugin/gitcommit.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim
index d4bfd369..7fab5a92 100644
--- a/vim/after/ftplugin/gitcommit.vim
+++ b/vim/after/ftplugin/gitcommit.vim
@@ -27,6 +27,6 @@ endif
nnoremap <buffer> <expr> <LocalLeader>q quote#Quote()
nnoremap <buffer> <expr> <LocalLeader>qq quote#Quote().'_'
xnoremap <buffer> <expr> <LocalLeader>q quote#Quote()
-let b:undo_ftplugin .= '|nunmap <LocalLeader>q'
- \ . '|nunmap <LocalLeader>qq'
- \ . '|xunmap <LocalLeader>q'
+let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>q'
+ \ . '|nunmap <buffer> <LocalLeader>qq'
+ \ . '|xunmap <buffer> <LocalLeader>q'