diff options
Diffstat (limited to 'vim/after/ftplugin/mail.vim')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 8 |
1 files changed, 8 insertions, 0 deletions
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 <buffer> \ <LocalLeader>l \ <C-U>:call <SID>FlagUnimportant()<CR> let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>l' + +" Maps to move to the next blank line content-wise (i.e. quoted still counts) +nnoremap <buffer> <silent> <LocalLeader>[ + \ :<C-U>call search('\m^[ >]*$', 'bW')<CR> +nnoremap <buffer> <silent> <LocalLeader>] + \ :<C-U>call search('\m^[ >]*$', 'W')<CR> +let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>[' + \ . '|nunmap <buffer> <LocalLeader>]' |