summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorBirger Skogeng Pedersen <birger.sp@gmail.com>2019-09-04 16:30:55 +0200
committerPratyush Yadav <me@yadavpratyush.com>2019-09-11 00:46:21 +0530
commite07446ed5ff8b1c291a5c4ba2783bb8c0aa9741a (patch)
treecf89a9ff46de8051c57b2650e5aeff8e0addb13f /git-gui/lib/commit.tcl
parent5ab72271e16ac23c269f5019a74a7b1d65170e47 (diff)
git-gui: add hotkeys to set widget focus
The user cannot change focus between the list of files, the diff view and the commit message widgets without using the mouse (clicking either of the four widgets). With this patch, the user may set ui focus to the previously selected path in either the "Unstaged Changes" or "Staged Changes" widgets, using ALT+1 or ALT+2. The user may also set the ui focus to the diff view widget with ALT+3, or to the commit message widget with ALT+4. This enables the user to select/unselect files, view the diff and create a commit in git-gui using keyboard-only. Signed-off-by: Birger Skogeng Pedersen <birger.sp@gmail.com> Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions