mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 11:37:57 +01:00
Refactor "gt" action.
This commit is contained in:
@@ -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>"],
|
||||
|
||||
Reference in New Issue
Block a user