diff options
author | Teddy Wing | 2016-05-08 03:40:32 -0400 |
---|---|---|
committer | Teddy Wing | 2016-05-08 03:44:43 -0400 |
commit | fde3e26faf3f09cf6fa9bc35f9453480218daa92 (patch) | |
tree | e358d4bc80a2e83b965ce061868b4b7a289c9497 /ftplugin/mail.vim | |
parent | 35d8a8758070cb9c44c0d83ae03dab9b8aa348b8 (diff) | |
download | dotvim-fde3e26faf3f09cf6fa9bc35f9453480218daa92.tar.bz2 |
ftplugin/mail.vim: Add a mapping to remove the last two lines
I have two empty lines below my signature to add some space between my
top-posted message and the quoted message of a reply below.
When I start a new mail message, though, nothing is below my message,
resulting in two empty lines at the bottom of my emails. Add a mapping
to quickly remove these lines to save me from having to do it manually.
Should save some time.
Diffstat (limited to 'ftplugin/mail.vim')
-rw-r--r-- | ftplugin/mail.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim index fcff8b8..3e64f4a 100644 --- a/ftplugin/mail.vim +++ b/ftplugin/mail.vim @@ -7,3 +7,7 @@ setlocal formatoptions+=aw setlocal nojoinspaces setlocal spell + + +" Remove last two empty lines below signature +nnoremap <buffer> <leader>e m`Gdk`` |