aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-29 20:07:09 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-29 23:19:38 +1300
commitadd78dd0267a26936a964ea08eb0e1515457b90a (patch)
treea1ea76487c90716720cfd97696af30539895ac22
parentc921c0d016c9d52c74083baecde1e0fe0e2e61eb (diff)
downloaddotfiles-add78dd0267a26936a964ea08eb0e1515457b90a.tar.gz
Clear away stock ft=mail quoting maps
-rw-r--r--vim/after/ftplugin/mail.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 688ca6eb..d93b230e 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -41,6 +41,13 @@ if exists('g:no_plugin_maps') || exists('g:no_mail_maps')
finish
endif
+" Clear away the quoting maps that the stock mail.vim sets; they work fine,
+" but we have nicer ones to define shortly
+nunmap <buffer> <LocalLeader>q
+vunmap <buffer> <LocalLeader>q
+nunmap <buffer> <Plug>MailQuote
+vunmap <buffer> <Plug>MailQuote
+
" Flag messages as important/unimportant
nnoremap <buffer> <LocalLeader>h
\ :<C-U>call mail#FlagImportant()<CR>