mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 04:07:58 +01:00
made selecting messages in muttator faster when holding j or k
This commit is contained in:
@@ -382,7 +382,9 @@ liberator.Mail = function ()
|
|||||||
|
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
{
|
{
|
||||||
gDBView.selectMsgByKey(key);
|
// gDBView.selectMsgByKey(key);
|
||||||
|
gDBView.selection.timedSelect(i, GetThreadTree()._selectDelay || 500);
|
||||||
|
GetThreadTree().treeBoxObject.ensureRowIsVisible(i);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,6 +87,9 @@ liberator.config = {
|
|||||||
liberator.mappings.add([liberator.modes.NORMAL],
|
liberator.mappings.add([liberator.modes.NORMAL],
|
||||||
["o"], "Open a message",
|
["o"], "Open a message",
|
||||||
function () { liberator.commandline.open(":", "open ", liberator.modes.EX); });
|
function () { liberator.commandline.open(":", "open ", liberator.modes.EX); });
|
||||||
|
|
||||||
|
// don't wait too long when selecting new messages
|
||||||
|
GetThreadTree()._selectDelay = 250; // TODO: make configurable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user