summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7963791)
raw | patch | inline | side by side (parent: 7963791)
author | Jens Lehmann <Jens.Lehmann@web.de> | |
Tue, 2 Feb 2010 22:11:28 +0000 (23:11 +0100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 20 Mar 2010 09:53:21 +0000 (20:53 +1100) |
To make the user experience between git gui and gitk more homogeneous,
use Ctrl-W in gitk for closing the active window. When closing the
main window doquit is called for proper cleanup.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
use Ctrl-W in gitk for closing the active window. When closing the
main window doquit is called for proper cleanup.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 1f36a3e815865fcc72b171b497f5c4e341e148ee..50773a3d9dba7e87a6bb9f888f9b8c94460fe63d 100755 (executable)
--- a/gitk
+++ b/gitk
}
bindall <$::BM> "canvscan mark %W %x %y"
bindall <B$::BM-Motion> "canvscan dragto %W %x %y"
+ bind all <$M1B-Key-w> {destroy [winfo toplevel %W]}
+ bind . <$M1B-Key-w> doquit
bindkey <Home> selfirstline
bindkey <End> sellastline
bind . <Key-Up> "selnextline -1"
[mc "Gitk key bindings:"]
[mc "<%s-Q> Quit" $M1T]
+[mc "<%s-W> Close window" $M1T]
[mc "<Home> Move to first commit"]
[mc "<End> Move to last commit"]
[mc "<Up>, p, i Move up one commit"]