All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gitk: bind <F5> key to Update (reread commits)
@ 2007-02-23 20:36 Eric Wong
  2007-02-23 20:41 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2007-02-23 20:36 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Paul Mackerras, Eric Wong

I chose <F5> because it's also the key to reload the current
page in web browsers such as Konqueror and Firefox, so users
are more likely to be familiar with it.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 gitk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gitk b/gitk
index 9ddff3e..1cd2a8f 100755
--- a/gitk
+++ b/gitk
@@ -720,6 +720,7 @@ proc makewindow {} {
     bindkey <Key-Return> {findnext 0}
     bindkey ? findprev
     bindkey f nextfile
+    bindkey <F5> updatecommits
     bind . <Control-q> doquit
     bind . <Control-f> dofind
     bind . <Control-g> {findnext 0}
@@ -985,6 +986,7 @@ f		Scroll diff view to next file
 <Ctrl-plus>	Increase font size
 <Ctrl-KP->	Decrease font size
 <Ctrl-minus>	Decrease font size
+<F5>		Update
 } \
 	    -justify left -bg white -border 2 -relief sunken
     pack $w.m -side top -fill both
-- 
1.5.0.1.213.g509b

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gitk: bind <F5> key to Update (reread commits)
  2007-02-23 20:36 [PATCH] gitk: bind <F5> key to Update (reread commits) Eric Wong
@ 2007-02-23 20:41 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2007-02-23 20:41 UTC (permalink / raw)
  To: Eric Wong; +Cc: Junio C Hamano, git, Paul Mackerras

Eric Wong <normalperson@yhbt.net> wrote:
> I chose <F5> because it's also the key to reload the current
> page in web browsers such as Konqueror and Firefox, so users
> are more likely to be familiar with it.

It is also the key for rescan in git-gui.  :-)

Though I have to admit, I chose F5 there for the exact reason you
mention above.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-23 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-23 20:36 [PATCH] gitk: bind <F5> key to Update (reread commits) Eric Wong
2007-02-23 20:41 ` Shawn O. Pearce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.