Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- vim/plugin/notmuch.vim | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 05e4552..6f9ff18 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -118,6 +118,7 @@ let g:notmuch_search_maps = { \ '<Space>': ':call <SID>NM_search_show_thread(0)<CR>', \ '<Enter>': ':call <SID>NM_search_show_thread(1)<CR>', \ '<C-]>': ':call <SID>NM_search_expand(''<cword>'')<CR>', + \ 'I': ':call <SID>NM_search_mark_read_thread()<CR>', \ 'a': ':call <SID>NM_search_archive_thread()<CR>', \ 'A': ':call <SID>NM_search_mark_read_then_archive_thread()<CR>', \ 'f': ':call <SID>NM_search_filter()<CR>', @@ -308,6 +309,11 @@ function! s:NM_search_edit() endif endfunction +function! s:NM_search_mark_read_thread() + call <SID>NM_tag([], ['-unread']) + norm j +endfunction + function! s:NM_search_archive_thread() call <SID>NM_tag([], ['-inbox']) norm j -- 1.7.5