From fde3e26faf3f09cf6fa9bc35f9453480218daa92 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 8 May 2016 03:40:32 -0400 Subject: 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. --- ftplugin/mail.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin') 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 e m`Gdk`` -- cgit v1.2.3