diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-22 13:10:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-22 13:10:37 +1200 |
commit | 320169d17759f10e84f836ad41b879f5fe8a7bd1 (patch) | |
tree | b6ec04a62366389da9550faef4d7477ae2cbac22 /vim/after/ftplugin | |
parent | Test for g:is_posix existence before purge (diff) | |
download | dotfiles-320169d17759f10e84f836ad41b879f5fe8a7bd1.tar.gz dotfiles-320169d17759f10e84f836ad41b879f5fe8a7bd1.zip |
Add mail shortcut for flagging a message as urgent
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index c3353cc7..4b6c827c 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -34,7 +34,10 @@ if exists('g:no_plugin_maps') || exists('g:no_mail_maps') finish endif -" Flag a message as unimportant +" Flag messages as important/unimportant +nnoremap <buffer> <LocalLeader>h + \ <C-U>:call mail#FlagImportant()<CR> +let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>h' nnoremap <buffer> <LocalLeader>l \ <C-U>:call mail#FlagUnimportant()<CR> let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>l' |