1 Return-Path: <felipe.contreras@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 728DF429E2C
\r
6 for <notmuch@notmuchmail.org>; Wed, 4 May 2011 13:13:30 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id hyDNaHrplA7U for <notmuch@notmuchmail.org>;
\r
17 Wed, 4 May 2011 13:13:30 -0700 (PDT)
\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com
\r
19 [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 17174431FB5
\r
22 for <notmuch@notmuchmail.org>; Wed, 4 May 2011 13:13:28 -0700 (PDT)
\r
23 Received: by mail-ey0-f181.google.com with SMTP id 5so465261eyh.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 04 May 2011 13:13:28 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer
\r
27 :in-reply-to:references;
\r
28 bh=1ybTQjPDtGk84K+zkYJhCnoY2KchgvvNIEzk7PYh9mU=;
\r
29 b=U8VJd0hmD3ap4pEYEpMQ8ngUuFHWKY/ALEpWUQ/NTNu9JA0opOvMjKp8CtEg1dP+Hh
\r
30 yVxneftb6Kc3gq14sYtGe4LO7Y7HAHGsqsg6zBPPuTyzTkV6a5G4yAF0YMe+5EIBwiJx
\r
31 sIlcNAaaQx0lrtHQXMUiC22ByG+lq5xmoOXYo=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
34 b=h7XZIa1zQ5RDNSm7q54l+f/9ooREf1QyzcfcyLZ2pDTDy7usr8//F5S2HCRupO6k//
\r
35 v4Q/pmz4eFakmLFFWMRSXNYEA6MYu1RceriQHxm308nf1uwdAAIpWecWLDtVDbxc5P6V
\r
36 sKX/2rTBusRnmCYQ5tk/b+THn50jvAXlEziIE=
\r
37 Received: by 10.14.2.93 with SMTP id 69mr762811eee.211.1304540008692;
\r
38 Wed, 04 May 2011 13:13:28 -0700 (PDT)
\r
39 Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80])
\r
40 by mx.google.com with ESMTPS id y7sm1092229eeh.21.2011.05.04.13.13.27
\r
41 (version=TLSv1/SSLv3 cipher=OTHER);
\r
42 Wed, 04 May 2011 13:13:28 -0700 (PDT)
\r
43 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 3/4] vim: add support for delete in search view
\r
46 Date: Wed, 4 May 2011 23:13:15 +0300
\r
47 Message-Id: <1304539996-6686-4-git-send-email-felipe.contreras@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.5
\r
49 In-Reply-To: <1304539996-6686-1-git-send-email-felipe.contreras@gmail.com>
\r
50 References: <1304539996-6686-1-git-send-email-felipe.contreras@gmail.com>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Wed, 04 May 2011 20:13:30 -0000
\r
65 Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
\r
67 vim/plugin/notmuch.vim | 6 ++++++
\r
68 1 files changed, 6 insertions(+), 0 deletions(-)
\r
70 diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
\r
71 index 6f9ff18..c49ada5 100644
\r
72 --- a/vim/plugin/notmuch.vim
\r
73 +++ b/vim/plugin/notmuch.vim
\r
74 @@ -121,6 +121,7 @@ let g:notmuch_search_maps = {
\r
75 \ 'I': ':call <SID>NM_search_mark_read_thread()<CR>',
\r
76 \ 'a': ':call <SID>NM_search_archive_thread()<CR>',
\r
77 \ 'A': ':call <SID>NM_search_mark_read_then_archive_thread()<CR>',
\r
78 + \ 'D': ':call <SID>NM_search_delete_thread()<CR>',
\r
79 \ 'f': ':call <SID>NM_search_filter()<CR>',
\r
80 \ 'm': ':call <SID>NM_new_mail()<CR>',
\r
81 \ 'o': ':call <SID>NM_search_toggle_order()<CR>',
\r
82 @@ -324,6 +325,11 @@ function! s:NM_search_mark_read_then_archive_thread()
\r
86 +function! s:NM_search_delete_thread()
\r
87 + call <SID>NM_tag([], ['+delete','-inbox','-unread'])
\r
91 function! s:NM_search_filter()
\r
92 call <SID>NM_search_filter_helper('Filter: ', '', '')
\r