diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 11ea4fd3..a1c5e286 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -302,7 +302,7 @@ ruby << EOF $messages.clear $curbuf.render do |b| q = $curbuf.query(get_cur_view) - q.sort = 0 + q.sort = Notmuch::SORT_OLDEST_FIRST msgs = q.search_messages msgs.each do |msg| m = Mail.read(msg.filename)