]> granicus.if.org Git - procps-ng/commit
top: map additional navigation keys
authorJim Warner <james.warner@comcast.net>
Mon, 1 Oct 2012 16:11:01 +0000 (11:11 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 11 Oct 2012 10:10:44 +0000 (21:10 +1100)
commitbff927711b4afaf3003218bf3ff1d2a89c7299df
tree2389b57a63901b7999fe60a9b1f874a96d57039f
parentedd8aae5bafaeb7c43c1733873cda614ec2cb0c9
top: map additional navigation keys

There were some gaps in the alternate navigation keys
top provided.  Additionally, some inconsistencies
existed in the supporting key table.

This commit adds the following new key equivalents,
mirroring the standard vim navigation keys:
. ctrl+alt+ k = pgup, ctrl+alt+ j = pgdown
. ctrl+alt+ h = home, ctrl+alt+ l = end

Also, the supporting table entries now consistently
follow these "directions":
. up/pgup, down/pgdown, left/home, right/end

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c