From f20096022de6453ad6e054357ade2fbba97a2423 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 21 Mar 2014 20:15:34 +0100 Subject: Maybe some other time… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vim/ftplugin/mail.vim | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'vim/ftplugin/mail.vim') diff --git a/vim/ftplugin/mail.vim b/vim/ftplugin/mail.vim index 7b38173..49a1b8e 100644 --- a/vim/ftplugin/mail.vim +++ b/vim/ftplugin/mail.vim @@ -1,2 +1,18 @@ -set tw=78 -set fo+=aw +set formatoptions=w + +" * to re-format the current paragraph correctly +" * to format a line which is too long, and go to the next line +" * to merge the previous line with the current one, with a correct +" formatting (sometimes useful associated with ) +" +" These keys might be used both in command mode and edit mode. +" +" might be smarter to use with the Mail_Del_Empty_Quoted() function +" defined below + +nmap gqap +nmap gqqj +nmap kgqj +map! gqapi +map! gqqji +map! kgqji -- cgit v1.2.3-70-g09d2