Skip to content

Commit

Permalink
git-gui: Switch keybindings for [ and ] to bracketleft and bracketright
Browse files Browse the repository at this point in the history
Thanks to Michele Ballabio for the quick fix.
This resolves the error introduced by c91ee2b.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information
Shawn O. Pearce committed Apr 4, 2008
1 parent 3d654be commit 54906ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2715,8 +2715,8 @@ bind $ui_comm <$M1B-Key-v> {tk_textPaste %W; %W see insert; break}
bind $ui_comm <$M1B-Key-V> {tk_textPaste %W; %W see insert; break}
bind $ui_comm <$M1B-Key-a> {%W tag add sel 0.0 end;break}
bind $ui_comm <$M1B-Key-A> {%W tag add sel 0.0 end;break}
bind $ui_comm <$M1B-Key-\[> {show_less_context;break}
bind $ui_comm <$M1B-Key-\]> {show_more_context;break}
bind $ui_comm <$M1B-Key-bracketleft> {show_less_context;break}
bind $ui_comm <$M1B-Key-bracketright> {show_more_context;break}
bind $ui_diff <$M1B-Key-x> {tk_textCopy %W;break}
bind $ui_diff <$M1B-Key-X> {tk_textCopy %W;break}
Expand Down Expand Up @@ -2760,8 +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-bracketleft> {show_less_context;break}
bind . <$M1B-Key-bracketright> {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"
Expand Down

0 comments on commit 54906ad

Please sign in to comment.