]> git.notmuchmail.org Git - sup/blobdiff - lib/sup/modes/thread-view-mode.rb
add 'a' and 'd' keybindings to thread-view-mode to archive/delete current thread
[sup] / lib / sup / modes / thread-view-mode.rb
index 27167cbdd9750158f0a76dda51b4c11740a99c9a..1c38fbbc741168117557ec3de0fc34ef581b9f66 100644 (file)
@@ -65,6 +65,9 @@ EOS
     k.add :unsubscribe_from_list, "Subscribe to/unsubscribe from mailing list", ")"
     k.add :pipe_message, "Pipe message or attachment to a shell command", '|'
 
+    k.add :archive_and_next, "Archive this thread, kill buffer, and view next", 'a'
+    k.add :delete_and_next, "Delete this thread, kill buffer, and view next", 'd'
+
     k.add_multi "(a)rchive/(d)elete/mark as (s)pam/mark as u(N)read:", '.' do |kk|
       kk.add :archive_and_kill, "Archive this thread and kill buffer", 'a'
       kk.add :delete_and_kill, "Delete this thread and kill buffer", 'd'