aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-14 19:42:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-14 19:42:02 +1200
commit2985baeea1e41f87eba6c695bed848493d3ac9c8 (patch)
tree6f8ef93f290c61c946008c3fe8b06e2d9cbb7f97 /vim/after/ftplugin
parentRemove bell settings from .gvimrc (diff)
downloaddotfiles-2985baeea1e41f87eba6c695bed848493d3ac9c8.tar.gz
dotfiles-2985baeea1e41f87eba6c695bed848493d3ac9c8.zip
Change mail quoting to generic autoload function
I intend to use it elsewhere.
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/mail.vim6
1 files changed, 3 insertions, 3 deletions
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 <buffer> <expr> <LocalLeader>q mail#Quote()
-nnoremap <buffer> <expr> <LocalLeader>qq mail#Quote().'_'
-xnoremap <buffer> <expr> <LocalLeader>q mail#Quote()
+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'