gitk has vi key bindings

As I’ve pointed out before, it is in your very best interest to learn vi. It may be a cryptic editor to you, but everything uses it’s most basic navigational key bindings (h-j-k-l => left-down-up-right). I just fired up gitk so I could rapidly look at the log messages I had made regarding my manuscript for Darklight, and without even thinking, traipsed through them using vi key bindings. Nice!

By the way, yes, I use git’s command line all the time, but for my manuscript I have been writing detailed log messages, aka multi-paragraph commit messages. I usually don’t do that on software, so my railroad diagram (git log –graph –pretty=”format:’%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset'” –abbrev-commit –date=relative aliased as git lg) is usually enough.

Post A Comment