Skip to content

Commit b1218e4

Browse files
committed
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
2 parents 8b09611 + 28a1d94 commit b1218e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-gui/git-gui.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3867,6 +3867,7 @@ bind . <$M1B-Key-equal> {show_more_context;break}
38673867
bind . <$M1B-Key-plus> {show_more_context;break}
38683868
bind . <$M1B-Key-KP_Add> {show_more_context;break}
38693869
bind . <$M1B-Key-Return> do_commit
3870+
bind . <$M1B-Key-KP_Enter> do_commit
38703871
foreach i [list $ui_index $ui_workdir] {
38713872
bind $i <Button-1> { toggle_or_diff click %W %x %y; break }
38723873
bind $i <$M1B-Button-1> { add_one_to_selection %W %x %y; break }

0 commit comments

Comments
 (0)