Add 'm' and ' ' bindings to notmuch-folder view
authorKeith Packard <keithp@keithp.com>
Sun, 27 Dec 2009 00:34:16 +0000 (16:34 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 8 Feb 2010 22:35:08 +0000 (14:35 -0800)
This allows the user to compose new mail from the folder view, and
also to use <space> to show the current folder.

Signed-off-by: Keith Packard <keithp@keithp.com>
notmuch.el

index 8fba25d4aabfb50741680c380aaf4e27f15fc8e9..af45a21a24b5c345682de16786b868f3b736c97b 100644 (file)
@@ -1446,12 +1446,14 @@ current search results AND that are tagged with the given tag."
     (define-key map "?" 'notmuch-help)
     (define-key map "x" 'kill-this-buffer)
     (define-key map "q" 'kill-this-buffer)
+    (define-key map "m" 'message-mail)
     (define-key map ">" 'notmuch-folder-last)
     (define-key map "<" 'notmuch-folder-first)
     (define-key map "=" 'notmuch-folder)
     (define-key map "s" 'notmuch-search)
     (define-key map [mouse-1] 'notmuch-folder-show-search)
     (define-key map (kbd "RET") 'notmuch-folder-show-search)
+    (define-key map " " 'notmuch-folder-show-search)
     (define-key map "p" 'notmuch-folder-previous)
     (define-key map "n" 'notmuch-folder-next)
     map)