commit 22a0b63763ad980871203eeda159cfce6ad3d50c
parent 854dc199d5594899478a7c03e752b41a788e8f1f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 24 Jun 2020 20:23:42 +0200
fix wrong vi keys, thanks adc!
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sfeed_curses.1 b/sfeed_curses.1
@@ -38,9 +38,9 @@ and
.Xr wcwidth 3 .
.Sh KEYBINDS
.Bl -tag -width Ds
-.It j, arrow up
+.It k, arrow up
Select previous item.
-.It k, arrow down
+.It j, arrow down
Select next item.
.It h, arrow left
Focus pane to the left.
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1375,11 +1375,11 @@ main(int argc, char *argv[])
}
continue;
keyup:
- case 'j':
+ case 'k':
pane_scrolln(&panes[selpane], -1);
break;
keydown:
- case 'k':
+ case 'j':
pane_scrolln(&panes[selpane], +1);
break;
keyleft: