]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Bind <backtab> (shift-TAB) to notmuch-show-previous-button
authorNelson Elhage <nelhage@ksplice.com>
Tue, 11 May 2010 15:38:44 +0000 (11:38 -0400)
committerCarl Worth <cworth@cworth.org>
Fri, 4 Jun 2010 01:17:03 +0000 (18:17 -0700)
Shift-TAB is standard "opposite" of TAB -- in GUI interfaces they
typically cycle through input elements in opposite orders -- so it
makes sense to behave the same way.

Signed-off-by: Nelson Elhage <nelhage@ksplice.com>
emacs/notmuch-show.el

index 4b1baf38dd2a5bcc3fc64145fb15407943be7bd1..b0815a02d05da0abbfe5af9c265e4733aaaa4df8 100644 (file)
@@ -548,6 +548,7 @@ function is used. "
        (define-key map "?" 'notmuch-help)
        (define-key map "q" 'kill-this-buffer)
        (define-key map (kbd "M-TAB") 'notmuch-show-previous-button)
+       (define-key map (kbd "<backtab>") 'notmuch-show-previous-button)
        (define-key map (kbd "TAB") 'notmuch-show-next-button)
        (define-key map "s" 'notmuch-search)
        (define-key map "m" 'notmuch-mua-mail)