Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
Subject: [sup-talk] [PATCH] Buffer switching, 'bn' for the next one and 'bp' for the previous
Date: Mon, 16 Mar 2009 19:36:28 +0100	[thread overview]
Message-ID: <1237228583-sup-7694@ausone.local> (raw)
In-Reply-To: <1227194855-12300-1-git-send-email-nicolas.pouillard@gmail.com>

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


       reply	other threads:[~2009-03-16 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1227194855-12300-1-git-send-email-nicolas.pouillard@gmail.com>
2009-03-16 18:36 ` Nicolas Pouillard [this message]
2009-03-23 14:51   ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1237228583-sup-7694@ausone.local \
    --to=nicolas.pouillard@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox