emacs: Bind <backtab> (shift-TAB) to notmuch-show-previous-button

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>
This commit is contained in:
Nelson Elhage 2010-05-11 11:38:44 -04:00 committed by Carl Worth
parent 5ebf5efcb0
commit 35343710a2

View 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)