Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: chrisw@rice.edu (Christopher Warrington)
Subject: [sup-talk] [PATCH] tweaked Refine Search keybinding
Date: Sat,  2 Feb 2008 21:49:19 -0600	[thread overview]
Message-ID: <1202010559-3708-1-git-send-email-chrisw@rice.edu> (raw)
In-Reply-To: <1202005927-sup-5664@south>

Refine Search is now bound to |. On most standard 104-key keyboards,
this appears to be shifted \, which fits in nicely since \ is global
search now.
---
 lib/sup/modes/search-results-mode.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/sup/modes/search-results-mode.rb b/lib/sup/modes/search-results-mode.rb
index a03f0a2..6fdc58a 100755
--- a/lib/sup/modes/search-results-mode.rb
+++ b/lib/sup/modes/search-results-mode.rb
@@ -9,11 +9,11 @@ class SearchResultsMode < ThreadIndexMode
   end
 
   register_keymap do |k|
-    k.add :refine_search, "Refine search", '.'
+    k.add :refine_search, "Refine search", '|'
   end
 
   def refine_search
-    query = BufferManager.ask :search, "query: ", (@qobj.to_s + " ")
+    query = BufferManager.ask :search, "refine query: ", (@qobj.to_s + " ")
     return unless query && query !~ /^\s*$/
     SearchResultsMode.spawn_from_query query
   end
-- 
1.5.3.8



  parent reply	other threads:[~2008-02-03  3:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26  5:32 [sup-talk] [PATCH] fixed crasher when refining search and updated keybinding Christopher Warrington
2008-01-27 17:01 ` John Bent
2008-02-03  2:35   ` William Morgan
2008-02-03  2:34 ` William Morgan
2008-02-03  3:49   ` [sup-talk] [PATCH] fixed crasher when refining search Christopher Warrington
2008-02-03  3:49   ` Christopher Warrington [this message]
2008-02-03  5:09     ` [sup-talk] [PATCH] tweaked Refine Search keybinding 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=1202010559-3708-1-git-send-email-chrisw@rice.edu \
    --to=chrisw@rice.edu \
    /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