mirror of
https://github.com/git/git.git
synced 2024-11-01 23:07:55 +01:00
gitk: Make it easier to go quickly to a specific commit
Binds "g" to focus and clear the sha1 entry box. Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
9922c5a334
commit
0deb5c9721
1 changed files with 2 additions and 0 deletions
2
gitk
2
gitk
|
@ -2568,6 +2568,7 @@ proc makewindow {} {
|
|||
bindkey b prevfile
|
||||
bindkey d "$ctext yview scroll 18 units"
|
||||
bindkey u "$ctext yview scroll -18 units"
|
||||
bindkey g {$sha1entry delete 0 end; focus $sha1entry}
|
||||
bindkey / {focus $fstring}
|
||||
bindkey <Key-KP_Divide> {focus $fstring}
|
||||
bindkey <Key-Return> {dofind 1 1}
|
||||
|
@ -3071,6 +3072,7 @@ proc keys {} {
|
|||
[mc "<%s-F> Find" $M1T]
|
||||
[mc "<%s-G> Move to next find hit" $M1T]
|
||||
[mc "<Return> Move to next find hit"]
|
||||
[mc "g Go to commit"]
|
||||
[mc "/ Focus the search box"]
|
||||
[mc "? Move to previous find hit"]
|
||||
[mc "f Scroll diff view to next file"]
|
||||
|
|
Loading…
Reference in a new issue