diff options
author | Ismael Luceno <ismael.luceno@tttech-auto.com> | 2020-05-12 12:28:06 +0200 |
---|---|---|
committer | Pratyush Yadav <me@yadavpratyush.com> | 2020-05-12 18:23:49 +0530 |
commit | e5894146b0e38cd5754ee60676110208c470ff34 (patch) | |
tree | d3acffdc380556dbb60fc24d04a5c44328c7565f /t/t4135-apply-weird-filenames.sh | |
parent | Merge branch 'ar/ui-ready-semicolon' (diff) | |
download | tgif-e5894146b0e38cd5754ee60676110208c470ff34.tar.xz |
git-gui: Handle Ctrl + BS/Del in the commit msg
- Control+BackSpace: Delete word to the left of the cursor.
- Control+Delete : Delete word to the right of the cursor.
Originally introduced by BRIEF and Turbo Vision between 1985 and 1992,
they were adopted by most CUA-Compliant UIs, including those of: OS/2,
Windows, Mac OS, Qt, GTK, Open/Libre Office, Gecko, and GNU Emacs.
In both cases Tk already implements the functionality bound to other key
combination, so we use that.
Graphical examples:
Deleting to the left:
v------ pointer
X_WORD____X
^-----^------ selection
Deleting to the right:
v--------- pointer
X_WORD_X
^--^------ selection
Signed-off-by: Ismael Luceno <ismael.luceno@tttech-auto.com>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
Diffstat (limited to 't/t4135-apply-weird-filenames.sh')
0 files changed, 0 insertions, 0 deletions