From ba84328b3c4fef1838e741cf6d31e48de0769d79 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 25 Nov 2015 04:49:52 +0100 Subject: Add nvim settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nvim/ftplugin/mail.vim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nvim/ftplugin/mail.vim (limited to 'nvim/ftplugin/mail.vim') diff --git a/nvim/ftplugin/mail.vim b/nvim/ftplugin/mail.vim new file mode 100644 index 0000000..309f8e0 --- /dev/null +++ b/nvim/ftplugin/mail.vim @@ -0,0 +1,18 @@ +set formatoptions=taw + +" * 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-54-g00ecf