Adds half_pgup and half_pgdn bindings (CmdHalfPgup and CmdHalfPgdn), which scroll by half a page, like vim and less. These are unbound by default, but are listed in the default config file and have a help entry.
This was implemented by refactoring pageUp and pageDown into a generic relativeScroll method called by all page up/down functions. There's a change that the float conversions might not yield exactly the same scroll distance, but it shouldn't be off by more than a line if so.
Adds
half_pgup
andhalf_pgdn
bindings (CmdHalfPgup
andCmdHalfPgdn
), which scroll by half a page, like vim and less. These are unbound by default, but are listed in the default config file and have a help entry.This was implemented by refactoring
pageUp
andpageDown
into a genericrelativeScroll
method called by all page up/down functions. There's a change that the float conversions might not yield exactly the same scroll distance, but it shouldn't be off by more than a line if so.Fixes #303