Bind 'j'/'k' to moving up/down; add next/previous requests bound to Down/Up
authorJonas Fonseca <fonseca@diku.dk>
Sun, 21 May 2006 02:44:08 +0000 (04:44 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Sun, 21 May 2006 03:04:36 +0000 (05:04 +0200)
commitb3a54cba6627f5562702e4bf4d8f904e724da745
treecdb1ec613049f1c258a09edcb6b12228cd6be93d
parentff26aa294779c69563bb7d92c6e08f5a7128b074
Bind 'j'/'k' to moving up/down; add next/previous requests bound to Down/Up

This adds support for using these next/previous requests for changing the
current commit in the main view from the diff view, if the diff view has
the main view as it's parent.

Works for both split- and full-screen diff views by making redrawing
conditional when moving (and doing the lowlevel scrolling).

Replaces REQ_MOVE_{UP,DOWN}_ENTER.
tig.c