Subject: [sup-talk] [PATCH] Buffer switching, 'bn' for the next one and 'bp' for the previous

From: [email-masked] (Nicolas Pouillard)
Date: Mon, 16 Mar 2009 19:36:28 +0100

Resent...

---
 bin/sup |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/sup b/bin/sup
index 152c42c..965f2ee 100644
--- a/bin/sup
+++ b/bin/sup
@@ -66,8 +66,10 @@ global_keymap = Keymap.new do |k|
   k.add :quit_ask, "Quit Sup, but ask first", 'q'
   k.add :quit_now, "Quit Sup immediately", 'Q'
   k.add :help, "Show help", '?'
-  k.add :roll_buffers, "Switch to next buffer", 'b'
-#  k.add :roll_buffers_backwards, "Switch to previous buffer", 'B'
+  k.add_multi "(n)ext/(p)revious:", 'b' do |kk|
+    kk.add :roll_buffers, "Switch to next buffer", 'n'
+    kk.add :roll_buffers_backwards, "Switch to previous buffer", 'p'
+  end
   k.add :kill_buffer, "Kill the current buffer", 'x'
   k.add :list_buffers, "List all buffers", 'B'
   k.add :list_contacts, "List contacts", 'C'

-- 
Nicolas Pouillard

---

From: [email-masked] (William Morgan)
Date: Mon, 23 Mar 2009 07:51:38 -0700

Branch roll-buffers, merged into next.
-- 
William <wmorgan-sup at masanjin.net>