]> git.cworth.org Git - notmuch-wiki/commitdiff
emacstips: how to change reply to all/sender key bindings
authorJani Nikula <jani@nikula.org>
Sat, 14 Jan 2012 16:22:44 +0000 (18:22 +0200)
committerJani Nikula <jani@nikula.org>
Sat, 14 Jan 2012 16:22:44 +0000 (18:22 +0200)
emacstips.mdwn

index e12036d58afda7ddfda09b4456cd14d103e355b7..6275f18fb0f680a4b270b080ea6f1d340543a0e3 100644 (file)
@@ -168,6 +168,20 @@ key:
                        (notmuch-show-remove-tag "deleted")
                      (notmuch-show-add-tag "deleted"))))
 
+## Restore reply-to-all key binding to 'r'
+
+Starting from notmuch 0.12 the 'r' key is bound to reply-to-sender instead of
+reply-to-all. Here's how to swap the reply to sender/all bindings in show mode:
+
+               (define-key notmuch-show-mode-map "r" 'notmuch-show-reply)
+               (define-key notmuch-show-mode-map "R" 'notmuch-show-reply-sender)
+
+And in search mode:
+
+               (define-key notmuch-search-mode-map "r" 'notmuch-search-reply-to-thread)
+               (define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread-sender)
+
+
 ## How to do FCC/BCC...
 
 The Emacs interface to notmuch will automatically add an `Fcc`