From: Ismael Luceno <ismael@iodev.co.uk>
To: git@vger.kernel.org
Cc: Pat Thoyts <patthoyts@users.sourceforge.net>,
Ismael Luceno <ismael@iodev.co.uk>
Subject: [PATCH] git-gui: Handle Ctrl+BS & Ctrl+Del in the commit msg
Date: Mon, 11 Feb 2019 22:42:03 +0100 [thread overview]
Message-ID: <20190211214203.32444-1-ismael@iodev.co.uk> (raw)
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
---
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 <Control-Key-BackSpace> {%W delete {insert -1 chars wordstart} insert;break}
+bind $ui_comm <Control-Key-Delete> {%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
next reply other threads:[~2019-02-11 21:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-11 21:42 Ismael Luceno [this message]
2019-02-12 0:29 ` [PATCH] git-gui: Handle Ctrl+BS & Ctrl+Del in the commit msg brian m. carlson
[not found] ` <9EBA7C5F-4D59-45EE-B2E6-E7E76D7221EC@iodev.co.uk>
2019-02-13 3:35 ` brian m. carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190211214203.32444-1-ismael@iodev.co.uk \
--to=ismael@iodev.co.uk \
--cc=git@vger.kernel.org \
--cc=patthoyts@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).