From 05282eb4f03dba38006344b566d4f22ba1689217 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 8 Aug 2018 11:46:32 +1200 Subject: Add mappings to move through quoted mail blocks --- vim/after/ftplugin/mail.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vim/after/ftplugin') diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 2917425d..7c67987f 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -61,3 +61,11 @@ nnoremap \ l \ :call FlagUnimportant() let b:undo_ftplugin .= '|nunmap l' + +" Maps to move to the next blank line content-wise (i.e. quoted still counts) +nnoremap [ + \ :call search('\m^[ >]*$', 'bW') +nnoremap ] + \ :call search('\m^[ >]*$', 'W') +let b:undo_ftplugin .= '|nunmap [' + \ . '|nunmap ]' -- cgit v1.2.3