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

Fix <scroll-left-column>'s mode assignment (COMMAND -> NORMAL).

This commit is contained in:
Doug Kearns
2013-03-01 10:09:32 +11:00
parent fd5ee858fe
commit 925b088495

View File

@@ -1910,7 +1910,7 @@ var Buffer = Module("Buffer", {
function (args) { buffer.scrollVertical("lines", -Math.max(args.count, 1)); },
{ count: true });
mappings.add([modes.COMMAND], dactyl.has("mail") ? ["h", "<scroll-left-column>"] : ["h", "<Left>", "<scroll-left-column>"],
mappings.add([modes.NORMAL], dactyl.has("mail") ? ["h", "<scroll-left-column>"] : ["h", "<Left>", "<scroll-left-column>"],
"Scroll document to the left",
function (args) { buffer.scrollHorizontal("columns", -Math.max(args.count, 1)); },
{ count: true });