* gitk: More vi like cursor move
@ 2005-09-28 3:32 Yasushi SHOJI
0 siblings, 0 replies; only message in thread
From: Yasushi SHOJI @ 2005-09-28 3:32 UTC (permalink / raw)
To: git
Hello,
Just synced git and see that gitk now have vi like key binding.
however, IMHO, cursor move doesn't feel like vi.
If the attached patch make sense to people on the list, I'd like to
send formated email/patch to Paul.
regards,
--
yashi
diff --git a/gitk b/gitk
--- a/gitk
+++ b/gitk
@@ -497,9 +497,10 @@ proc makewindow {} {
bindkey n "selnextline 1"
bindkey z "goback"
bindkey x "goforw"
+ bindkey h "goback"
bindkey i "selnextline -1"
- bindkey k "selnextline 1"
- bindkey j "goback"
+ bindkey k "selnextline -1"
+ bindkey j "selnextline 1"
bindkey l "goforw"
bindkey b "$ctext yview scroll -1 pages"
bindkey d "$ctext yview scroll 18 units"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-28 3:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 3:32 gitk: More vi like cursor move Yasushi SHOJI
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).