commit 35d2d5b3d0b52b152539dc8075a830dee3bf5b71
parent 4c3b5b0d20df18dfb914d0732ba96c0617a51c57
Author: Carl Worth <cworth@cworth.org>
Date: Wed, 26 Aug 2009 15:40:34 -0700
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).
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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'