aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-30 20:24:43 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-30 20:24:43 +1300
commit4fa6fb2029ac65d4fce3d8c831e2a339d38ed7ed (patch)
tree2ed034d92e9d09ccb0fc25073844853816f1dc31
parentMove strict quote mappings beneath var guard (diff)
downloaddotfiles-4fa6fb2029ac65d4fce3d8c831e2a339d38ed7ed.tar.gz
dotfiles-4fa6fb2029ac65d4fce3d8c831e2a339d38ed7ed.zip
Add missing undo for strict quote map defs
-rw-r--r--vim/after/ftplugin/mail.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index f1d9f0cf..f81be691 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -63,6 +63,8 @@ nnoremap <LocalLeader>s
\ :StrictQuote<CR>
xnoremap <LocalLeader>s
\ :StrictQuote<CR>
+let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>s'
+ \ . '|xunmap <buffer> <LocalLeader>s'
" Maps using autoloaded function for quoted paragraph movement
nnoremap <buffer> <silent> <LocalLeader>[