We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0925504 + 99e30b2 commit 25c7d3fCopy full SHA for 25c7d3f
internal/pagermode-viewing.go
@@ -141,11 +141,15 @@ func (m PagerModeViewing) onRune(char rune) {
141
case '>', 'G':
142
p.scrollToEnd()
143
144
- case 'f', ' ':
+ // '\x06' = CTRL-f, should work like just 'f'.
145
+ // Ref: https://github.com/walles/moor/issues/107
146
+ case 'f', ' ', '\x06':
147
p.scrollPosition = p.scrollPosition.NextLine(p.visibleHeight())
148
p.handleScrolledDown()
149
- case 'b':
150
+ // '\x02' = CTRL-b, should work like just 'b'.
151
152
+ case 'b', '\x02':
153
p.scrollPosition = p.scrollPosition.PreviousLine(p.visibleHeight())
154
p.handleScrolledUp()
155
0 commit comments