Jonathan del Strother <maillist@xxxxxxxxxxxxxx> wrote: > On Tue, Apr 1, 2008 at 11:54 AM, Jonathan del Strother > <maillist@xxxxxxxxxxxxxx> wrote: > > Bound to Ctrl/Cmd + left & right square brackets, depending on your platform. Thanks. > ... I've just noticed that the shortcut keys don't apply while the > diff view has keyboard focus. Shall I replace "bind $ui_comm ... " > with "bind all ..." ? No, "bind .". I squashed this into your patch: @@ -2758,6 +2760,8 @@ bind . <$M1B-Key-t> do_add_selection bind . <$M1B-Key-T> do_add_selection bind . <$M1B-Key-i> do_add_all bind . <$M1B-Key-I> do_add_all +bind . <$M1B-Key-\[> {show_less_context;break} +bind . <$M1B-Key-\]> {show_more_context;break} bind . <$M1B-Key-Return> do_commit foreach i [list $ui_index $ui_workdir] { bind $i <Button-1> "toggle_or_diff $i %x %y; break" -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html