[PATCH 3/3] vim: implement archive in show view

Felipe Contreras felipe.contreras at gmail.com
Thu Dec 9 14:20:40 PST 2010


From: Felipe Contreras <felipe.contreras at ngmail.com>

Signed-off-by: Felipe Contreras <felipe.contreras at ngmail.com>
---
 vim/plugin/notmuch.vim |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
index 8815712..882c141 100644
--- a/vim/plugin/notmuch.vim
+++ b/vim/plugin/notmuch.vim
@@ -494,7 +494,8 @@ function! s:NM_show_next_thread()
 endfunction
 
 function! s:NM_show_archive_thread()
-        echo 'not implemented'
+        call <SID>NM_tag(b:nm_search_words, ['-inbox'])
+        call <SID>NM_show_next_thread()
 endfunction
 
 function! s:NM_show_mark_read_then_archive_thread()
-- 
1.7.3.2



More information about the notmuch mailing list