]> git.notmuchmail.org Git - notmuch/commitdiff
vim: implement archive in show view
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 9 Dec 2010 19:16:38 +0000 (21:16 +0200)
committerFelipe Contreras <felipe.contreras@gmail.com>
Wed, 4 May 2011 20:06:10 +0000 (23:06 +0300)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
vim/plugin/notmuch.vim

index f4a4f2334ac476831031052244ee2ae9ffe64666..3375a96c4bc4cfeeb582a3cad768db57ff77488e 100644 (file)
@@ -495,7 +495,8 @@ function! s:NM_show_next_thread()
 endfunction
 
 function! s:NM_show_archive_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()
 endfunction
 
 function! s:NM_show_mark_read_then_archive_thread()