login
Header Space

 
 

gitk: More vi like cursor move

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Tuesday, September 27, 2005 - 11:32 pm

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"
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gitk: More vi like cursor move, Yasushi SHOJI, (Tue Sep 27, 11:32 pm)
speck-geostationary