1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-08 03:35:45 +01:00

allow the Ctrl-U/Ctrl-D scroll count to be >= 1

This commit is contained in:
Doug Kearns
2007-08-10 12:57:43 +00:00
parent ee935d1b7e
commit 65bfe928a3

View File

@@ -679,7 +679,7 @@ function Mappings() //{{{
{ {
var lines; var lines;
if (count > 1) if (count > 0)
vimperator.options["scroll"] = count; vimperator.options["scroll"] = count;
if (vimperator.options["scroll"] == 0) // the default value of half a page if (vimperator.options["scroll"] == 0) // the default value of half a page