aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-15 16:42:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-15 16:42:06 +1200
commitdabe814aa385f489db562d78032d404b67f4cbb9 (patch)
tree1bce8043faffa5d64bc56fbafd6d0310bac166c5 /vim
parentb1d7eeecfd6ea19a557d6aab984f1600acdd562b (diff)
downloaddotfiles-dabe814aa385f489db562d78032d404b67f4cbb9.tar.gz
dotfiles-dabe814aa385f489db562d78032d404b67f4cbb9.zip
Add missing <buffer> to mail quote unmaps
Diffstat (limited to 'vim')
-rw-r--r--vim/after/ftplugin/gitcommit.vim6
-rw-r--r--vim/after/ftplugin/mail.vim6
-rw-r--r--vim/after/ftplugin/markdown.vim6
3 files changed, 9 insertions, 9 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'
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 0867311a..3e3a08c5 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -24,6 +24,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'
diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim
index 26b42849..38f2a8b9 100644
--- a/vim/after/ftplugin/markdown.vim
+++ b/vim/after/ftplugin/markdown.vim
@@ -30,6 +30,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'