From 35d2d5b3d0b52b152539dc8075a830dee3bf5b71 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 26 Aug 2009 15:40:34 -0700 Subject: [PATCH] add 'a' and 'd' keybindings to thread-view-mode to archive/delete current thread These behave identically to the existing ",a" and ",d" commands, (that is they archive or delete the current thread and then view the next). --- lib/sup/modes/thread-view-mode.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb index 27167cb..1c38fbb 100644 --- a/lib/sup/modes/thread-view-mode.rb +++ b/lib/sup/modes/thread-view-mode.rb @@ -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' -- 2.43.0