diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-02 15:15:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-02 15:16:34 -0800 |
commit | 28a1d94a0630d30c8bbafdf23776b9224b23e9cc (patch) | |
tree | f3dcd4a28e3b492d6a67d309445d9b019e57c2e5 /git-gui | |
parent | Sixth batch for 2.17 (diff) | |
parent | git-gui: bind CTRL/CMD+numpad ENTER to do_commit (diff) | |
download | tgif-28a1d94a0630d30c8bbafdf23776b9224b23e9cc.tar.xz |
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
Diffstat (limited to 'git-gui')
-rwxr-xr-x | git-gui/git-gui.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 <Button-1> { toggle_or_diff click %W %x %y; break } bind $i <$M1B-Button-1> { add_one_to_selection %W %x %y; break } |