diff options
| author | Shulhan <ms@kilabit.info> | 2021-11-12 19:43:17 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-04-09 19:00:05 +0700 |
| commit | e1d65ab098816914b24ac1ed954063c56e3fd08d (patch) | |
| tree | 1beadf5300f4a0e37a44d6e3e52be7bea47f925e | |
| parent | b15384c06f77bc2d34d0d3623a8a58218313a561 (diff) | |
| download | git-e1d65ab098816914b24ac1ed954063c56e3fd08d.tar.xz | |
gitk-git: add alternative shortcuts to update and reload commits
Add CTRL+r to update commits and Shift+R to reload commits.
| -rwxr-xr-x | gitk-git/gitk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gitk-git/gitk b/gitk-git/gitk index 2730274966..91b16a3bb0 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -2395,8 +2395,8 @@ proc makewindow {} { # sees the following string as needing to be translated set file { mc "&File" cascade { - {mc "&Update" command updatecommits -accelerator F5} - {mc "&Reload" command reloadcommits -accelerator Shift-F5} + {mc "&Update" command updatecommits -accelerator F5/r} + {mc "&Reload" command reloadcommits -accelerator Shift-F5/Shift-r} {mc "Reread re&ferences" command rereadrefs} {mc "&List references" command showrefs -accelerator F2} {xx "" separator} @@ -2809,7 +2809,9 @@ proc makewindow {} { bindkey ? {dofind -1 1} bindkey f nextfile bind . <F5> updatecommits + bindkey r updatecommits bindmodfunctionkey Shift 5 reloadcommits + bind . <R> reloadcommits bind . <F2> showrefs bindmodfunctionkey Shift 4 {newview 0} bind . <F4> edit_or_newview |
