git-gui: bind CTRL/CMD+numpad ENTER to do_commit
CTRL/CMD+ENTER is bound to do_commit, but this did not apply for the (numpad ENTER) key. To enable CTRL/CMD+ENTER and CTRL/CMD+(numpad ENTER) to yield the same behaviour, CTRL/CMD+(numpad enter) has also been bound to do_commit. Signed-off-by: Birger Skogeng Pedersen <birgersp@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5ab72271e1
commit
146a6f1097
@ -3843,6 +3843,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 }
|
||||
|
Loading…
Reference in New Issue
Block a user