From: Bart Trojanowski <bart@jukie.net>
To: git@vger.kernel.org
Cc: Paul Mackerras <paulus@samba.org>
Subject: [PATCH] make j/k move down/up in gitk (like vi)
Date: Fri, 27 Apr 2007 23:02:15 -0400 [thread overview]
Message-ID: <20070428030215.GZ26786@jukie.net> (raw)
Currently gitk has i/k bound to move up and down in the commit list. I
would like to make that more consistent with vi's j/k.
If this is not acceptable, I will investigate a git-config option for vi
compatibility mode.
---
gitk | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/gitk b/gitk
index b1c65d7..0ce4a12 100755
--- a/gitk
+++ b/gitk
@@ -711,10 +711,8 @@ proc makewindow {} {
bindkey n "selnextline 1"
bindkey z "goback"
bindkey x "goforw"
- bindkey i "selnextline -1"
- bindkey k "selnextline 1"
- bindkey j "goback"
- bindkey l "goforw"
+ bindkey k "selnextline -1"
+ bindkey j "selnextline 1"
bindkey b "$ctext yview scroll -1 pages"
bindkey d "$ctext yview scroll 18 units"
bindkey u "$ctext yview scroll -18 units"
--
1.5.2.rc0.56.g6169a
next reply other threads:[~2007-04-28 3:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-28 3:02 Bart Trojanowski [this message]
2007-04-28 9:26 ` [PATCH] make j/k move down/up in gitk (like vi) Martin Waitz
2007-04-29 18:13 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070428030215.GZ26786@jukie.net \
--to=bart@jukie.net \
--cc=git@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).