aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-08 11:56:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-08 11:56:43 -0200
commit78390f73c63348977053da9802d5a7767411eb6b (patch)
tree1d32e5b37d8391745754805627adaf98b93732a4
parent12268d90bed84b590cb567182a0099f1e92c81bd (diff)
downloadvim-78390f73c63348977053da9802d5a7767411eb6b.tar.gz
vim-78390f73c63348977053da9802d5a7767411eb6b.tar.bz2
For email: unfold and delete to your signature
-rw-r--r--vimrc.dot.link4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index e7e675f..7b04e37 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -137,6 +137,10 @@ vmap <C-x> "+c
" mail composition, which is annoying.
au FileType mail set noautoindent
+" For email: unfold and delete to your signature
+" See https://hroy.eu/tips/vim/email-delete-til-signature/
+noremap ,dd zi:.;/^-- $/d<CR>O-- <UP><End><CR><CR><UP><CR><C-O>zi
+
" Color scheme
"colorscheme github
"colorscheme solarized