git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] make j/k move down/up in gitk (like vi)

From
Junio C Hamano <junkio@cox.net>
Date
Apr 29, 2007, 18:13 UTC
Message-ID
<7vejm3dp6r.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070428030215.GZ26786@jukie.net>
Bart Trojanowski <bart@jukie.net> writes:
> 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.

I kind of second this. Any program that implements keyboard navigation and binds directions differently from vi greatly irritates me.

But it may be just me, who never used wordstar.
> If this is not acceptable, I will investigate a git-config option for vi
> compatibility mode.

I think a sensible way to go would be to allow gitk to read a custom tcl script from $HOME/.gitk, and make sure when the file is written back, the custom bindings are stored there as well.

Previous: Martin Waitz
Message 3 of 3 in “make j/k move down/up in gitk (like vi)”
  1. make j/k move down/up in gitk (like vi)Bart Trojanowski, Apr 28, 2007
  2. Martin WaitzApr 28, 2007
  3. Junio C HamanoApr 29, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.