From: Junio C Hamano Date: Fri, 2 Mar 2018 23:15:07 +0000 (-0800) Subject: Merge branch 'bp/bind-kp-enter' of git-gui into bp/git-gui-bind-kp-enter X-Git-Tag: v2.18.0-rc0~133^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/28a1d94a0630d30c8bbafdf23776b9224b23e9cc?hp=7e31236f652ad9db221511eaf157ce0ef55585d6 Merge branch 'bp/bind-kp-enter' of git-gui into bp/git-gui-bind-kp-enter * 'bp/bind-kp-enter' of git-gui: git-gui: bind CTRL/CMD+numpad ENTER to do_commit --- diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 91c00e6489..6de74ce639 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -3867,6 +3867,7 @@ bind . <$M1B-Key-equal> {show_more_context;break} bind . <$M1B-Key-plus> {show_more_context;break} bind . <$M1B-Key-KP_Add> {show_more_context;break} bind . <$M1B-Key-Return> do_commit +bind . <$M1B-Key-KP_Enter> do_commit foreach i [list $ui_index $ui_workdir] { bind $i { toggle_or_diff click %W %x %y; break } bind $i <$M1B-Button-1> { add_one_to_selection %W %x %y; break }