]> git.cworth.org Git - notmuch/blobdiff - vim/plugin/notmuch.vim
vim: add archive support from 'show'
[notmuch] / vim / plugin / notmuch.vim
index a226f2034d594f781048211265fcdf13582b49d6..3a196160af19d783f03a08a18efa5098fa4d41f8 100644 (file)
@@ -178,7 +178,7 @@ let g:notmuch_compose_imaps = {
 
 function! s:NM_cmd_folders(words)
         if len(a:words)
-                throw 'Not exapecting any arguments for folders command.'
+                throw 'Not expecting any arguments for folders command.'
         endif
         let cmd = ['count']
         let disp = []
@@ -496,7 +496,8 @@ function! s:NM_show_archive_thread()
 endfunction
 
 function! s:NM_show_mark_read_then_archive_thread()
-        echo 'not implemented'
+        call <SID>NM_add_remove_tags(b:nm_search_words, '-', ['unread', 'inbox'])
+        call <SID>NM_show_next_thread()
 endfunction
 
 function! s:NM_show_mark_read_then_next_open_message()