diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-25 06:28:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-25 06:28:48 +0200 |
commit | b1218e46a6255a3bdbe2af1c9c329c20722df112 (patch) | |
tree | d2f230954f0cd90c48726fd151dee8041f772bfd /git-gui | |
parent | Merge branch 'bb/git-gui-ssh-key-files' (diff) | |
parent | Merge branch 'bp/bind-kp-enter' of git-gui into bp/git-gui-bind-kp-enter (diff) | |
download | git-b1218e46a6255a3bdbe2af1c9c329c20722df112.tar.xz git-b1218e46a6255a3bdbe2af1c9c329c20722df112.zip |
Merge branch 'bp/git-gui-bind-kp-enter'
"git gui" performs commit upon CTRL/CMD+ENTER but the
CTRL/CMD+KP_ENTER (i.e. enter key on the numpad) did not have the
same key binding. It now does.
* bp/git-gui-bind-kp-enter:
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 } |