1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:02:27 +01:00

[muttator] kmail-like navigation

This commit is contained in:
Martin Stubenschrott
2008-05-01 09:45:37 +00:00
parent 3c4edd335b
commit 5a28cd8948
2 changed files with 23 additions and 2 deletions

View File

@@ -216,12 +216,12 @@ liberator.Buffer = function () //{{{
function (count) { liberator.buffer.scrollLines(-(count > 1 ? count : 1)); },
{ flags: liberator.Mappings.flags.COUNT });
liberator.mappings.add(modes, ["h", "<Left>"],
liberator.mappings.add(modes, liberator.has("mail") ? ["h"] : ["h", "<Left>"],
"Scroll document to the left",
function (count) { liberator.buffer.scrollColumns(-(count > 1 ? count : 1)); },
{ flags: liberator.Mappings.flags.COUNT });
liberator.mappings.add(modes, ["l", "<Right>"],
liberator.mappings.add(modes, liberator.has("mail") ? ["l"] : ["l", "<Right>"],
"Scroll document to the right",
function (count) { liberator.buffer.scrollColumns(count > 1 ? count : 1); },
{ flags: liberator.Mappings.flags.COUNT });