* [sup-talk] [PATCH] add 'I' keybinding to raise Inbox buffer
@ 2009-08-16 19:36 Rich Lane
2009-08-18 17:38 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Rich Lane @ 2009-08-16 19:36 UTC (permalink / raw)
---
bin/sup | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/bin/sup b/bin/sup
index a9f0b95..d1eb163 100755
--- a/bin/sup
+++ b/bin/sup
@@ -78,6 +78,7 @@ global_keymap = Keymap.new do |k|
k.add :compose, "Compose new message", 'm', 'c'
k.add :nothing, "Do nothing", :ctrl_g
k.add :recall_draft, "Edit most recent draft message", 'R'
+ k.add :show_inbox, "Show the Inbox buffer", 'I'
end
## the following magic enables wide characters when used with a ruby
@@ -286,6 +287,8 @@ begin
b, new = BufferManager.spawn_unless_exists("All drafts") { LabelSearchResultsMode.new [:draft] }
b.mode.load_threads :num => b.content_height if new
end
+ when :show_inbox
+ BufferManager.raise_to_front ibuf
when :nothing, InputSequenceAborted
when :redraw
bm.completely_redraw_screen
--
1.6.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [sup-talk] [PATCH] add 'I' keybinding to raise Inbox buffer
2009-08-16 19:36 [sup-talk] [PATCH] add 'I' keybinding to raise Inbox buffer Rich Lane
@ 2009-08-18 17:38 ` William Morgan
0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2009-08-18 17:38 UTC (permalink / raw)
Applied to master, thanks!
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-18 17:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-16 19:36 [sup-talk] [PATCH] add 'I' keybinding to raise Inbox buffer Rich Lane
2009-08-18 17:38 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox