summaryrefslogtreecommitdiff
path: root/lib/checkout_op.tcl
diff options
context:
space:
mode:
authorLibravatar Birger Skogeng Pedersen <birger.sp@gmail.com>2019-09-04 16:30:55 +0200
committerLibravatar Pratyush Yadav <me@yadavpratyush.com>2019-09-11 00:46:21 +0530
commite07446ed5ff8b1c291a5c4ba2783bb8c0aa9741a (patch)
treecf89a9ff46de8051c57b2650e5aeff8e0addb13f /lib/checkout_op.tcl
parentMerge remote-tracking branch 'philoakley/dup-gui' (diff)
downloadtgif-e07446ed5ff8b1c291a5c4ba2783bb8c0aa9741a.tar.xz
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 'lib/checkout_op.tcl')
0 files changed, 0 insertions, 0 deletions