From: Ismael Luceno Date: Mon, 11 Feb 2019 21:42:03 GMT Subject: [PATCH] git-gui: Handle Ctrl+BS & Ctrl+Del in the commit msg Message-ID: <20190211214203.32444-1-ismael@iodev.co.uk> Signed-off-by: Ismael Luceno --- git-gui.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-gui.sh b/git-gui.sh index 5bc21b878d41..e00d9a345294 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -3788,6 +3788,8 @@ bind $ui_comm <$M1B-Key-KP_Subtract> {show_less_context;break} bind $ui_comm <$M1B-Key-equal> {show_more_context;break} bind $ui_comm <$M1B-Key-plus> {show_more_context;break} bind $ui_comm <$M1B-Key-KP_Add> {show_more_context;break} +bind $ui_comm {%W delete {insert -1 chars wordstart} insert;break} +bind $ui_comm {%W delete insert {insert wordend};break} bind $ui_diff <$M1B-Key-x> {tk_textCopy %W;break} bind $ui_diff <$M1B-Key-X> {tk_textCopy %W;break} -- 2.20.1