mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:47:58 +01:00
Fix "G" scroll command.
Broken by 769dad6834.
This commit is contained in:
@@ -1401,7 +1401,7 @@ const Buffer = Module("buffer", {
|
||||
|
||||
mappings.add(myModes, ["G", "<End>"],
|
||||
"Go to the end of the document",
|
||||
function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count >= 0 ? count : 100); },
|
||||
function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count != null ? count : 100); },
|
||||
{ count: true });
|
||||
|
||||
mappings.add(myModes, ["%"],
|
||||
|
||||
Reference in New Issue
Block a user