From 2985baeea1e41f87eba6c695bed848493d3ac9c8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 14 Jul 2018 19:42:02 +1200 Subject: Change mail quoting to generic autoload function I intend to use it elsewhere. --- vim/after/ftplugin/mail.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vim/after/ftplugin/mail.vim') diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index d22ec142..0867311a 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -21,9 +21,9 @@ endif " The quote mapping in the stock plugin is a good idea, but I prefer it to " work as a motion rather than quoting to the end of the buffer -nnoremap q mail#Quote() -nnoremap qq mail#Quote().'_' -xnoremap q mail#Quote() +nnoremap q quote#Quote() +nnoremap qq quote#Quote().'_' +xnoremap q quote#Quote() let b:undo_ftplugin .= '|nunmap q' \ . '|nunmap qq' \ . '|xunmap q' -- cgit v1.2.3