summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-04-04 00:06:29 +0200
committerShawn O. Pearce <spearce@spearce.org>2008-04-04 03:38:12 +0200
commit54906addfa598640a6492cae1015badefa1ce201 (patch)
tree7853640058256c5995916f155ed74f0e31331a08
parentgit-gui 0.10 (diff)
downloadgit-54906addfa598640a6492cae1015badefa1ce201.tar.xz
git-54906addfa598640a6492cae1015badefa1ce201.zip
git-gui: Switch keybindings for [ and ] to bracketleft and bracketright
Thanks to Michele Ballabio for the quick fix. This resolves the error introduced by c91ee2bd61. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-xgit-gui.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 8225cec505..748efcc30c 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -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}
@@ -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"