aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/mail.vim
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/autoload/mail.vim
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/autoload/mail.vim')
-rw-r--r--vim/autoload/mail.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/vim/autoload/mail.vim b/vim/autoload/mail.vim
deleted file mode 100644
index 4c21ae38..00000000
--- a/vim/autoload/mail.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-" Quote lines in mail messages
-function! mail#Quote() abort
- set operatorfunc=mail#QuoteOpfunc
- return 'g@'
-endfunction
-function! mail#QuoteOpfunc(type) abort
- for l:li in range(line('''['), line(''']'))
- let l:line = getline(l:li)
- call setline(l:li, '>'.l:line)
- endfor
-endfunction