X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=vim%2Fnotmuch.vim;fp=vim%2Fnotmuch.vim;h=c1c2f63d20178dab69f92c9ff9aab4631dda6ee5;hp=541698cdfee7939e05aa3554ff39c91295920940;hb=c3c74621fa8a6ee2f5ca6a06ca1eb32e20227e65;hpb=8af4cd160ab1fe63d79a2b6b16833b9020f1c6c0 diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 541698cd..c1c2f63d 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -317,6 +317,9 @@ ruby << EOF $curbuf.render do |b| q = $curbuf.query(get_cur_view) q.sort = Notmuch::SORT_OLDEST_FIRST + $exclude_tags.each { |t| + q.add_tag_exclude(t) + } msgs = q.search_messages msgs.each do |msg| m = Mail.read(msg.filename)