1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:27:58 +01:00

Refactor "gt" action.

This commit is contained in:
Doug Kearns
2009-05-06 21:42:34 +10:00
parent 7281f64eae
commit 93e166e86b

View File

@@ -220,7 +220,13 @@ function Tabs() //{{{
mappings.add([modes.NORMAL], ["gt"],
"Go to the next tab",
function (count) { tabs.select(count > 0 ? count - 1 : "+1", count > 0 ? false : true); },
function (count)
{
if (count > 0)
tabs.select(count - 1, false);
else
tabs.select("+1", true);
},
{ flags: Mappings.flags.COUNT });
mappings.add([modes.NORMAL], ["<C-n>", "<C-Tab>", "<C-PageDown>"],