diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 20:07:09 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:19:38 +1300 |
commit | add78dd0267a26936a964ea08eb0e1515457b90a (patch) | |
tree | a1ea76487c90716720cfd97696af30539895ac22 /vim | |
parent | Wrap autocmd! clear for ft=mail in :execute (diff) | |
download | dotfiles-add78dd0267a26936a964ea08eb0e1515457b90a.tar.gz dotfiles-add78dd0267a26936a964ea08eb0e1515457b90a.zip |
Clear away stock ft=mail quoting maps
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 7 |
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> |