vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 90d51c28ac7a90aca7db21b40f87c39dbdc74ded
parent 8cf8f1eb31f3d96c85d8dc0113aebf19fd292ad8
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 16 Sep 2014 21:24:02 +0200

Fix scrolling direction of CTRL-{F,B}

Diffstat:
Mconfig.def.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -347,8 +347,8 @@ static KeyBinding vis_mode_normal[] = { { { CONTROL('w'), NONE('s') }, winsplit, { .b = false } }, { { CONTROL('w'), NONE('j') }, call, { .f = editor_window_next } }, { { CONTROL('w'), NONE('k') }, call, { .f = editor_window_prev } }, - { { CONTROL('F') }, wscroll, { .i = -PAGE } }, - { { CONTROL('B') }, wscroll, { .i = +PAGE } }, + { { CONTROL('B') }, wscroll, { .i = -PAGE } }, + { { CONTROL('F') }, wscroll, { .i = +PAGE } }, { { CONTROL('U') }, wscroll, { .i = -PAGE_HALF } }, { { CONTROL('D') }, wscroll, { .i = +PAGE_HALF } }, { { CONTROL('E') }, wslide, { .i = -1 } },